Mercurial > hg > sonic-annotator
annotate test-svcore-base.pro @ 308:535559475847
Build & install necessary plugins
author | Chris Cannam |
---|---|
date | Tue, 11 Jul 2017 16:50:36 +0100 |
parents | 6122159556bd |
children |
rev | line source |
---|---|
Chris@260 | 1 |
Chris@260 | 2 TEMPLATE = app |
Chris@260 | 3 |
Chris@260 | 4 exists(config.pri) { |
Chris@260 | 5 include(config.pri) |
Chris@260 | 6 } |
Chris@260 | 7 |
Chris@260 | 8 !exists(config.pri) { |
Chris@260 | 9 include(noconfig.pri) |
Chris@260 | 10 } |
Chris@260 | 11 |
Chris@260 | 12 include(base.pri) |
Chris@260 | 13 |
Chris@260 | 14 CONFIG += console |
Chris@260 | 15 QT += network xml testlib |
Chris@260 | 16 QT -= gui |
Chris@260 | 17 |
Chris@260 | 18 win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console |
Chris@260 | 19 macx*: CONFIG -= app_bundle |
Chris@260 | 20 |
Chris@260 | 21 TARGET = test-svcore-base |
Chris@260 | 22 |
Chris@260 | 23 OBJECTS_DIR = o |
Chris@260 | 24 MOC_DIR = o |
Chris@260 | 25 |
Chris@260 | 26 include(svcore/base/test/files.pri) |
Chris@260 | 27 |
Chris@260 | 28 for (file, TEST_SOURCES) { SOURCES += $$sprintf("svcore/base/test/%1", $$file) } |
Chris@260 | 29 for (file, TEST_HEADERS) { HEADERS += $$sprintf("svcore/base/test/%1", $$file) } |
Chris@260 | 30 |
Chris@290 | 31 !win32* { |
Chris@290 | 32 QMAKE_POST_LINK = ./$${TARGET} |
Chris@290 | 33 } |