view AES/unit_test.pro @ 2:177f640940f2

Update exception class and cleanup redifinitions During firmware download and exception caused the application to stop. Rootcause was the defference between QT5 and QT6 exception and string handling which is updated now. In addition some old definitions were removed to avoid compiler warnings.
author Ideenmodellierer
date Fri, 28 Nov 2025 19:57:35 +0100
parents 0b3630a29ad8
children
line wrap: on
line source

##############################################################################
# \file   AES/unit_test.pro
# \brief  Test AES block mode, and CFB mode.
# \author JD Gascuel
#
# $Id$
##############################################################################
# HISTORY:
# 2015/03/14 jDG : Creation.

TARGET = unit_test
CONFIG *= console

##############################################################################
# Here, we need dependencies from GoogleTest, and another project...
GTEST=D:/Dev/Dependencies/gtest-1.6.0

# Visual Studio 2012 : the number of variadic template parameters defaults to 5,
# force to 10
*msvc2012 : DEFINES *= _VARIADIC_MAX=10

INCLUDEPATH *= $${GTEST}/include $${GTEST}/gtest-1.6.0
HEADERS *= \
    $${GTEST}/include/gtest/gtest.h
SOURCES *= \
    $${GTEST}/gtest-1.6.0/src/gtest_main.cc \
    $${GTEST}/gtest-1.6.0/src/gtest-all.cc

##############################################################################
# Then we have our proper stuff:
HEADERS *= \
    rijndael.h

SOURCES *= \
    rijndael.cpp  \
    unit_test.cpp