summaryrefslogtreecommitdiffstats
path: root/tests/auto/auto.pri
blob: 9d3ed05a47d1106675e8a8f48c1d9b0122ecb777 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
!include( ../tests.pri ) {
    error( "Couldn't find the tests.pri file!" )
}

QT += testlib widgets

!contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_")

INCLUDEPATH += ../inc
HEADERS += ../inc/tst_definitions.h

#Define for unit tests
CONFIG(debug, debug|release) {
    DEFINES += BUILD_PRIVATE_UNIT_TESTS
}