annotate data/model/test/test.pro @ 1207:d60f9715ba78 3.0-integration

Merge from branch tony-2.0-integration
author Chris Cannam
date Tue, 20 Sep 2016 09:16:05 +0100
parents 69c84a66727b
children
rev   line source
Chris@1086 1
Chris@1086 2 TEMPLATE = app
Chris@1086 3
Chris@1185 4 INCLUDEPATH += ../../../../vamp-plugin-sdk
Chris@1185 5
Chris@1086 6 LIBS += -L../../.. -L../../../../dataquay -L../../../release -L../../../../dataquay/release -lsvcore -ldataquay
Chris@1086 7
Chris@1086 8 win32-g++ {
Chris@1086 9 INCLUDEPATH += ../../../../sv-dependency-builds/win32-mingw/include
Chris@1086 10 LIBS += -L../../../../sv-dependency-builds/win32-mingw/lib
Chris@1086 11 }
Chris@1086 12 win32-msvc* {
Chris@1086 13 INCLUDEPATH += ../../../../sv-dependency-builds/win32-msvc/include
Chris@1086 14 LIBS += -L../../../../sv-dependency-builds/win32-msvc/lib
Chris@1086 15 }
Chris@1086 16 mac* {
Chris@1086 17 INCLUDEPATH += ../../../../sv-dependency-builds/osx/include
Chris@1086 18 LIBS += -L../../../../sv-dependency-builds/osx/lib
Chris@1086 19 }
Chris@1086 20
Chris@1086 21 exists(../../../config.pri) {
Chris@1086 22 include(../../../config.pri)
Chris@1086 23 }
Chris@1086 24
Chris@1086 25 !exists(../../../config.pri) {
Chris@1086 26
Chris@1086 27 CONFIG += release
Chris@1086 28 DEFINES += NDEBUG BUILD_RELEASE NO_TIMING
Chris@1086 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@1086 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@1086 33
Chris@1086 34 win* {
Chris@1086 35 LIBS += -llo -lwinmm -lws2_32
Chris@1086 36 }
Chris@1086 37 macx* {
Chris@1086 38 DEFINES += HAVE_COREAUDIO
Chris@1086 39 LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate
Chris@1086 40 }
Chris@1086 41 }
Chris@1086 42
Chris@1086 43 CONFIG += qt thread warn_on stl rtti exceptions console c++11
Chris@1086 44 QT += network xml testlib
Chris@1086 45 QT -= gui
Chris@1086 46
Chris@1086 47 TARGET = svcore-data-model-test
Chris@1086 48
Chris@1086 49 DEPENDPATH += ../../..
Chris@1086 50 INCLUDEPATH += ../../..
Chris@1086 51 OBJECTS_DIR = o
Chris@1086 52 MOC_DIR = o
Chris@1086 53
Chris@1086 54 HEADERS += Compares.h MockWaveModel.h TestFFTModel.h
Chris@1086 55 SOURCES += MockWaveModel.cpp main.cpp
Chris@1086 56
Chris@1086 57 win* {
Chris@1086 58 //PRE_TARGETDEPS += ../../../svcore.lib
Chris@1086 59 }
Chris@1086 60 !win* {
Chris@1086 61 PRE_TARGETDEPS += ../../../libsvcore.a
Chris@1086 62 }
Chris@1086 63
Chris@1086 64 !win32 {
Chris@1086 65 !macx* {
Chris@1086 66 QMAKE_POST_LINK=./$${TARGET}
Chris@1086 67 }
Chris@1086 68 macx* {
Chris@1086 69 QMAKE_POST_LINK=./$${TARGET}.app/Contents/MacOS/$${TARGET}
Chris@1086 70 }
Chris@1086 71 }
Chris@1086 72
Chris@1086 73 win32:QMAKE_POST_LINK=./release/$${TARGET}.exe
Chris@1086 74