Mercurial > hg > sonic-annotator
annotate test-svcore-base.pro @ 325:d5caf5e91a86 default-writer-writes-to-files
If the default writer were to be able to write to files (but this is backward-incompatible so probably unwise)
author | Chris Cannam |
---|---|
date | Fri, 18 May 2018 12:36:48 +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 } |