annotate data/model/test/test.pro @ 1126:39019ce29178 tony-2.0-integration

Merge through to branch for Tony 2.0
author Chris Cannam
date Thu, 20 Aug 2015 14:54:21 +0100
parents 2c43f9904068
children 69c84a66727b
rev   line source
Chris@1086 1
Chris@1086 2 TEMPLATE = app
Chris@1086 3
Chris@1086 4 LIBS += -L../../.. -L../../../../dataquay -L../../../release -L../../../../dataquay/release -lsvcore -ldataquay
Chris@1086 5
Chris@1086 6 win32-g++ {
Chris@1086 7 INCLUDEPATH += ../../../../sv-dependency-builds/win32-mingw/include
Chris@1086 8 LIBS += -L../../../../sv-dependency-builds/win32-mingw/lib
Chris@1086 9 }
Chris@1086 10 win32-msvc* {
Chris@1086 11 INCLUDEPATH += ../../../../sv-dependency-builds/win32-msvc/include
Chris@1086 12 LIBS += -L../../../../sv-dependency-builds/win32-msvc/lib
Chris@1086 13 }
Chris@1086 14 mac* {
Chris@1086 15 INCLUDEPATH += ../../../../sv-dependency-builds/osx/include
Chris@1086 16 LIBS += -L../../../../sv-dependency-builds/osx/lib
Chris@1086 17 }
Chris@1086 18
Chris@1086 19 exists(../../../config.pri) {
Chris@1086 20 include(../../../config.pri)
Chris@1086 21 }
Chris@1086 22
Chris@1086 23 !exists(../../../config.pri) {
Chris@1086 24
Chris@1086 25 CONFIG += release
Chris@1086 26 DEFINES += NDEBUG BUILD_RELEASE NO_TIMING
Chris@1086 27
Chris@1125 28 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 29
Chris@1120 30 LIBS += -lbz2 -lvamp-hostsdk -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lportaudio -lsamplerate -lz -lsord-0 -lserd-0
Chris@1086 31
Chris@1086 32 win* {
Chris@1086 33 LIBS += -llo -lwinmm -lws2_32
Chris@1086 34 }
Chris@1086 35 macx* {
Chris@1086 36 DEFINES += HAVE_COREAUDIO
Chris@1086 37 LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate
Chris@1086 38 }
Chris@1086 39 }
Chris@1086 40
Chris@1086 41 CONFIG += qt thread warn_on stl rtti exceptions console c++11
Chris@1086 42 QT += network xml testlib
Chris@1086 43 QT -= gui
Chris@1086 44
Chris@1086 45 TARGET = svcore-data-model-test
Chris@1086 46
Chris@1086 47 DEPENDPATH += ../../..
Chris@1086 48 INCLUDEPATH += ../../..
Chris@1086 49 OBJECTS_DIR = o
Chris@1086 50 MOC_DIR = o
Chris@1086 51
Chris@1086 52 HEADERS += Compares.h MockWaveModel.h TestFFTModel.h
Chris@1086 53 SOURCES += MockWaveModel.cpp main.cpp
Chris@1086 54
Chris@1086 55 win* {
Chris@1086 56 //PRE_TARGETDEPS += ../../../svcore.lib
Chris@1086 57 }
Chris@1086 58 !win* {
Chris@1086 59 PRE_TARGETDEPS += ../../../libsvcore.a
Chris@1086 60 }
Chris@1086 61
Chris@1086 62 !win32 {
Chris@1086 63 !macx* {
Chris@1086 64 QMAKE_POST_LINK=./$${TARGET}
Chris@1086 65 }
Chris@1086 66 macx* {
Chris@1086 67 QMAKE_POST_LINK=./$${TARGET}.app/Contents/MacOS/$${TARGET}
Chris@1086 68 }
Chris@1086 69 }
Chris@1086 70
Chris@1086 71 win32:QMAKE_POST_LINK=./release/$${TARGET}.exe
Chris@1086 72