view test-svcore-base.pro @ 2309:50ff14c0b1e5

Subrepo update
author Chris Cannam
date Wed, 14 Aug 2019 14:55:55 +0100
parents a86168d1ba68
children
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) }

!win32* {
    POST_TARGETDEPS += $$PWD/libbase.a
    QMAKE_POST_LINK = ./$${TARGET}
}