auto.pri
15 lines
| 317 B
| text/plain
|
TextLexer
Michal Klocek
|
r1200 | !include( ../tests.pri ) { | ||
error( "Couldn't find the tests.pri file!" ) | ||||
Tero Ahola
|
r960 | } | ||
Titta Heikkala
|
r2714 | QT += testlib widgets | ||
Tero Ahola
|
r1109 | |||
Titta Heikkala
|
r2712 | !contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_") | ||
Heikkinen Miikka
|
r2524 | |||
Tero Ahola
|
r1109 | INCLUDEPATH += ../inc | ||
HEADERS += ../inc/tst_definitions.h | ||||
Michal Klocek
|
r1198 | |||
Titta Heikkala
|
r2712 | #Define for unit tests | ||
CONFIG(debug, debug|release) { | ||||
DEFINES += BUILD_PRIVATE_UNIT_TESTS | ||||
} | ||||