Mercurial > hg > svcore
annotate data/fileio/test/test.pro @ 763:2b3a8ae04597 qt5
Get remainder of svcore building with Qt5
author | Chris Cannam |
---|---|
date | Mon, 11 Mar 2013 13:55:22 +0000 |
parents | 02390a4c2abe |
children | 001d77a720ce |
rev | line source |
---|---|
Chris@756 | 1 |
Chris@756 | 2 TEMPLATE = app |
Chris@756 | 3 |
Chris@756 | 4 LIBS += -L../../.. -lsvcore |
Chris@756 | 5 |
Chris@756 | 6 include(../../../config.pri) |
Chris@756 | 7 |
Chris@756 | 8 CONFIG += qt thread warn_on stl rtti exceptions console |
Chris@756 | 9 QT += network xml testlib |
Chris@756 | 10 QT -= gui |
Chris@756 | 11 |
Chris@756 | 12 TARGET = svcore-test |
Chris@756 | 13 |
Chris@756 | 14 DEPENDPATH += ../../.. |
Chris@756 | 15 INCLUDEPATH += ../../.. |
Chris@756 | 16 OBJECTS_DIR = o |
Chris@756 | 17 MOC_DIR = o |
Chris@756 | 18 |
Chris@756 | 19 HEADERS += AudioFileReaderTest.h \ |
Chris@756 | 20 AudioTestData.h |
Chris@756 | 21 SOURCES += main.cpp |
Chris@756 | 22 |
Chris@756 | 23 win* { |
Chris@756 | 24 PRE_TARGETDEPS += ../../../svcore.lib |
Chris@756 | 25 } |
Chris@756 | 26 !win* { |
Chris@756 | 27 PRE_TARGETDEPS += ../../../libsvcore.a |
Chris@756 | 28 } |
Chris@756 | 29 |
Chris@756 | 30 !win32 { |
Chris@756 | 31 !macx* { |
Chris@756 | 32 QMAKE_POST_LINK=./$${TARGET} |
Chris@756 | 33 } |
Chris@756 | 34 macx* { |
Chris@756 | 35 QMAKE_POST_LINK=./$${TARGET}.app/Contents/MacOS/$${TARGET} |
Chris@756 | 36 } |
Chris@756 | 37 } |
Chris@756 | 38 |
Chris@756 | 39 win32:QMAKE_POST_LINK=.$${TARGET}.exe |
Chris@756 | 40 |