summaryrefslogtreecommitdiffstats
path: root/tests/auto/auto.pri
blob: a091500972d65b9551da5776748b9e957ba5fc4c (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
}