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