Mercurial > hg > sonic-visualiser
annotate test-svcore-base.pro @ 1332:587c0e53ea86 3.0-integration
Rearrange svcore tests so they can all be built from the top level
author | Chris Cannam |
---|---|
date | Mon, 14 Nov 2016 17:53:16 +0000 |
parents | |
children | 6f8c8390f55c |
rev | line source |
---|---|
Chris@1332 | 1 |
Chris@1332 | 2 TEMPLATE = app |
Chris@1332 | 3 |
Chris@1332 | 4 exists(config.pri) { |
Chris@1332 | 5 include(config.pri) |
Chris@1332 | 6 } |
Chris@1332 | 7 |
Chris@1332 | 8 !exists(config.pri) { |
Chris@1332 | 9 include(noconfig.pri) |
Chris@1332 | 10 } |
Chris@1332 | 11 |
Chris@1332 | 12 include(base.pri) |
Chris@1332 | 13 |
Chris@1332 | 14 CONFIG += console |
Chris@1332 | 15 QT += network xml testlib |
Chris@1332 | 16 QT -= gui |
Chris@1332 | 17 |
Chris@1332 | 18 TARGET = test-svcore-base |
Chris@1332 | 19 |
Chris@1332 | 20 OBJECTS_DIR = o |
Chris@1332 | 21 MOC_DIR = o |
Chris@1332 | 22 |
Chris@1332 | 23 include(svcore/base/test/files.pri) |
Chris@1332 | 24 |
Chris@1332 | 25 for (file, TEST_SOURCES) { SOURCES += $$sprintf("svcore/base/test/%1", $$file) } |
Chris@1332 | 26 for (file, TEST_HEADERS) { HEADERS += $$sprintf("svcore/base/test/%1", $$file) } |
Chris@1332 | 27 |