comparison test-svcore-system.pro @ 328:e16e4cda23b9

Update build system to follow current SV
author Chris Cannam
date Mon, 11 Jun 2018 19:29:14 +0100
parents
children
comparison
equal deleted inserted replaced
327:0e866ef12d87 328:e16e4cda23b9
1
2 TEMPLATE = app
3
4 exists(config.pri) {
5 include(config.pri)
6 }
7
8 !exists(config.pri) {
9 include(noconfig.pri)
10 }
11
12 include(base.pri)
13
14 CONFIG += console
15 QT += network xml testlib
16 QT -= gui
17
18 win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console
19 macx*: CONFIG -= app_bundle
20
21 TARGET = test-svcore-system
22
23 OBJECTS_DIR = o
24 MOC_DIR = o
25
26 include(svcore/system/test/files.pri)
27
28 for (file, TEST_SOURCES) { SOURCES += $$sprintf("svcore/system/test/%1", $$file) }
29 for (file, TEST_HEADERS) { HEADERS += $$sprintf("svcore/system/test/%1", $$file) }
30
31 !win32* {
32 QMAKE_POST_LINK = ./$${TARGET}
33 }