2017-07-07 10:03:16 -07:00
|
|
|
QT += core testlib
|
2017-06-21 16:04:33 -07:00
|
|
|
QT -= gui
|
|
|
|
|
|
|
|
CONFIG += c++11
|
|
|
|
|
|
|
|
TARGET = QAESEncryption
|
|
|
|
CONFIG += console
|
|
|
|
CONFIG -= app_bundle
|
|
|
|
|
|
|
|
TEMPLATE = app
|
|
|
|
|
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
|
|
# any feature of Qt which as been marked deprecated (the exact warnings
|
|
|
|
# depend on your compiler). Please consult the documentation of the
|
|
|
|
# deprecated API in order to know how to port your code away from it.
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
2020-05-15 16:45:35 -07:00
|
|
|
DEFINES += USE_INTEL_AES_IF_AVAILABLE
|
|
|
|
QMAKE_CXXFLAGS += -maes
|
|
|
|
|
2019-06-04 18:13:13 +03:00
|
|
|
CONFIG(release, debug|release): {
|
|
|
|
DESTDIR="$$PWD/build/release"
|
|
|
|
} else {
|
|
|
|
DESTDIR="$$PWD/build/debug"
|
|
|
|
}
|
|
|
|
|
2017-06-21 16:04:33 -07:00
|
|
|
# You can also make your code fail to compile if you use deprecated APIs.
|
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
|
|
|
HEADERS += \
|
2017-07-07 10:03:16 -07:00
|
|
|
qaesencryption.h \
|
2020-09-09 22:39:11 +03:00
|
|
|
aesni/aesni-key-exp.h \
|
|
|
|
aesni/aesni-enc-ecb.h \
|
|
|
|
aesni/aesni-enc-cbc.h \
|
2017-07-07 10:10:47 -07:00
|
|
|
unit_test/aestest.h
|
2017-06-21 16:04:33 -07:00
|
|
|
|
2020-05-15 16:45:35 -07:00
|
|
|
SOURCES += main.cpp \
|
|
|
|
qaesencryption.cpp \
|
2020-09-09 22:39:11 +03:00
|
|
|
unit_test/aestest.cpp
|
2017-06-21 16:04:33 -07:00
|
|
|
|
2018-04-03 16:52:39 -07:00
|
|
|
DISTFILES += \
|
|
|
|
unit_test/longText.txt
|
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
res.qrc
|
|
|
|
|
2019-08-22 17:49:39 +03:00
|
|
|
include(ccache.pri)
|