Mercurial > hg > svcore
annotate base/test/test.pro @ 1249:d45a16c232bd piper
Align Sonic Annotator with the new Piper-ified subrepos (bearing in mind we want neither Piper nor the plugin load checker in Sonic Annotator itself)
author | Chris Cannam |
---|---|
date | Fri, 04 Nov 2016 14:16:01 +0000 |
parents | 69c84a66727b |
children |
rev | line source |
---|---|
Chris@879 | 1 |
Chris@879 | 2 TEMPLATE = app |
Chris@879 | 3 |
Chris@1185 | 4 INCLUDEPATH += ../../../vamp-plugin-sdk |
Chris@1185 | 5 |
Chris@879 | 6 LIBS += -L../.. -L../../../dataquay -L../../release -L../../../dataquay/release -lsvcore -ldataquay |
Chris@879 | 7 |
Chris@879 | 8 win32-g++ { |
Chris@879 | 9 INCLUDEPATH += ../../../sv-dependency-builds/win32-mingw/include |
Chris@879 | 10 LIBS += -L../../../sv-dependency-builds/win32-mingw/lib |
Chris@879 | 11 } |
Chris@945 | 12 win32-msvc* { |
Chris@945 | 13 INCLUDEPATH += ../../../sv-dependency-builds/win32-msvc/include |
Chris@945 | 14 LIBS += -L../../../sv-dependency-builds/win32-msvc/lib |
Chris@945 | 15 } |
Chris@945 | 16 mac* { |
Chris@945 | 17 INCLUDEPATH += ../../../sv-dependency-builds/osx/include |
Chris@945 | 18 LIBS += -L../../../sv-dependency-builds/osx/lib |
Chris@945 | 19 } |
Chris@879 | 20 |
Chris@879 | 21 exists(../../config.pri) { |
Chris@879 | 22 include(../../config.pri) |
Chris@879 | 23 } |
Chris@879 | 24 |
Chris@945 | 25 !exists(../../config.pri) { |
Chris@945 | 26 |
Chris@945 | 27 CONFIG += release |
Chris@945 | 28 DEFINES += NDEBUG BUILD_RELEASE NO_TIMING |
Chris@945 | 29 |
Chris@1125 | 30 DEFINES += HAVE_BZ2 HAVE_FFTW3 HAVE_FFTW3F HAVE_SNDFILE HAVE_SAMPLERATE HAVE_VAMP HAVE_VAMPHOSTSDK HAVE_DATAQUAY HAVE_LIBLO HAVE_MAD HAVE_ID3TAG HAVE_PORTAUDIO |
Chris@945 | 31 |
Chris@1185 | 32 LIBS += -lbz2 -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lportaudio -lsamplerate -lz -lsord-0 -lserd-0 |
Chris@945 | 33 |
Chris@945 | 34 win* { |
Chris@945 | 35 LIBS += -llo -lwinmm -lws2_32 |
Chris@945 | 36 } |
Chris@945 | 37 macx* { |
Chris@945 | 38 DEFINES += HAVE_COREAUDIO |
Chris@945 | 39 LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate |
Chris@879 | 40 } |
Chris@879 | 41 } |
Chris@879 | 42 |
Chris@1055 | 43 CONFIG += qt thread warn_on stl rtti exceptions console c++11 |
Chris@879 | 44 QT += network xml testlib |
Chris@879 | 45 QT -= gui |
Chris@879 | 46 |
Chris@879 | 47 TARGET = svcore-base-test |
Chris@879 | 48 |
Chris@879 | 49 DEPENDPATH += ../.. |
Chris@879 | 50 INCLUDEPATH += ../.. |
Chris@879 | 51 OBJECTS_DIR = o |
Chris@879 | 52 MOC_DIR = o |
Chris@879 | 53 |
Chris@1022 | 54 HEADERS += TestRangeMapper.h TestPitch.h TestRealTime.h TestStringBits.h |
Chris@879 | 55 SOURCES += main.cpp |
Chris@879 | 56 |
Chris@879 | 57 win* { |
Chris@879 | 58 //PRE_TARGETDEPS += ../../svcore.lib |
Chris@879 | 59 } |
Chris@879 | 60 !win* { |
Chris@879 | 61 PRE_TARGETDEPS += ../../libsvcore.a |
Chris@879 | 62 } |
Chris@879 | 63 |
Chris@879 | 64 !win32 { |
Chris@879 | 65 !macx* { |
Chris@879 | 66 QMAKE_POST_LINK=./$${TARGET} |
Chris@879 | 67 } |
Chris@879 | 68 macx* { |
Chris@879 | 69 QMAKE_POST_LINK=./$${TARGET}.app/Contents/MacOS/$${TARGET} |
Chris@879 | 70 } |
Chris@879 | 71 } |
Chris@879 | 72 |
Chris@879 | 73 win32:QMAKE_POST_LINK=./release/$${TARGET}.exe |
Chris@879 | 74 |