annotate test-svcore-data-fileio.pro @ 323:50461005ffcb

Cargo-culting a possible fix for Qt qmake breakage (see https://bugreports.qt.io/browse/QTBUG-62065)
author Chris Cannam
date Fri, 18 May 2018 10:05:03 +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-data-fileio
Chris@260 22
Chris@260 23 OBJECTS_DIR = o
Chris@260 24 MOC_DIR = o
Chris@260 25
Chris@260 26 include(svcore/data/fileio/test/files.pri)
Chris@260 27
Chris@260 28 for (file, TEST_SOURCES) { SOURCES += $$sprintf("svcore/data/fileio/test/%1", $$file) }
Chris@260 29 for (file, TEST_HEADERS) { HEADERS += $$sprintf("svcore/data/fileio/test/%1", $$file) }
Chris@260 30
Chris@290 31 !win32* {
Chris@290 32 QMAKE_POST_LINK = ./$${TARGET}
Chris@290 33 }