Mercurial > hg > sonic-annotator
annotate test-svcore-system.pro @ 399:a3912193ce69 tip
Default branch is now named default on git as well as hg, in case we ever want to switch to mirroring in the other direction
author | Chris Cannam |
---|---|
date | Thu, 27 Aug 2020 15:57:37 +0100 |
parents | e16e4cda23b9 |
children |
rev | line source |
---|---|
Chris@328 | 1 |
Chris@328 | 2 TEMPLATE = app |
Chris@328 | 3 |
Chris@328 | 4 exists(config.pri) { |
Chris@328 | 5 include(config.pri) |
Chris@328 | 6 } |
Chris@328 | 7 |
Chris@328 | 8 !exists(config.pri) { |
Chris@328 | 9 include(noconfig.pri) |
Chris@328 | 10 } |
Chris@328 | 11 |
Chris@328 | 12 include(base.pri) |
Chris@328 | 13 |
Chris@328 | 14 CONFIG += console |
Chris@328 | 15 QT += network xml testlib |
Chris@328 | 16 QT -= gui |
Chris@328 | 17 |
Chris@328 | 18 win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console |
Chris@328 | 19 macx*: CONFIG -= app_bundle |
Chris@328 | 20 |
Chris@328 | 21 TARGET = test-svcore-system |
Chris@328 | 22 |
Chris@328 | 23 OBJECTS_DIR = o |
Chris@328 | 24 MOC_DIR = o |
Chris@328 | 25 |
Chris@328 | 26 include(svcore/system/test/files.pri) |
Chris@328 | 27 |
Chris@328 | 28 for (file, TEST_SOURCES) { SOURCES += $$sprintf("svcore/system/test/%1", $$file) } |
Chris@328 | 29 for (file, TEST_HEADERS) { HEADERS += $$sprintf("svcore/system/test/%1", $$file) } |
Chris@328 | 30 |
Chris@328 | 31 !win32* { |
Chris@328 | 32 QMAKE_POST_LINK = ./$${TARGET} |
Chris@328 | 33 } |