view test-svcore-base.pro @ 1357:78d2cb5f2cad subdivide-instants

Tidy up, with some convenient C++11isms
author Chris Cannam
date Fri, 25 Nov 2016 10:08:09 +0000
parents ae3a89df2c9d
children e4bd2a532ced
line wrap: on
line source

TEMPLATE = app

exists(config.pri) {
    include(config.pri)
}

!exists(config.pri) {
    include(noconfig.pri)
}

include(base.pri)

CONFIG += console
QT += network xml testlib
QT -= gui

win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console
macx*: CONFIG -= app_bundle

TARGET = test-svcore-base

OBJECTS_DIR = o
MOC_DIR = o

include(svcore/base/test/files.pri)

for (file, TEST_SOURCES) { SOURCES += $$sprintf("svcore/base/test/%1", $$file) }
for (file, TEST_HEADERS) { HEADERS += $$sprintf("svcore/base/test/%1", $$file) }

QMAKE_POST_LINK = ./$${TARGET}$${TARGET_EXT}