47 lines
856 B
INI
47 lines
856 B
INI
TEMPLATE = app
|
|
CONFIG += no_main
|
|
|
|
# Enable the testlib module
|
|
QT += testlib
|
|
|
|
# Define a test-specific flag
|
|
DEFINES += QT_TESTS
|
|
|
|
TARGET = tests
|
|
|
|
# List all test source files
|
|
SOURCES += \
|
|
autotest_cod5.cpp \
|
|
test_main.cpp \
|
|
autotest_cod.cpp \
|
|
autotest_xplor.cpp
|
|
|
|
|
|
# Prevent tests from being built in release mode (optional)
|
|
# CONFIG(debug, debug|release) {
|
|
# message("Including test files in Debug mode")
|
|
# } else {
|
|
# SOURCES -= autotest_cod5.cpp
|
|
# }
|
|
|
|
app.depends += \
|
|
libs/core \
|
|
libs/compression \
|
|
libs/encryption
|
|
|
|
LIBS += \
|
|
-L$$OUT_PWD/../libs/ -lcore -lencryption -lcompression
|
|
|
|
INCLUDEPATH += \
|
|
$$PWD/../libs/core \
|
|
$$PWD/../libs/encryption \
|
|
$$PWD/../libs/compression
|
|
|
|
DEPENDPATH += \
|
|
$$PWD/../libs/core \
|
|
$$PWD/../libs/encryption \
|
|
$$PWD/../libs/compression
|
|
|
|
RESOURCES += \
|
|
data.qrc
|