Mercurial > hg > svcore
comparison data/model/test/test.pro @ 1086:9f4505ac9072
Tidy dense time-value model API a bit; add first simple unit test for FFT model
author | Chris Cannam |
---|---|
date | Wed, 10 Jun 2015 17:06:02 +0100 |
parents | |
children | 4d9816ba0ebe 020277bfafcb def2db9c4ab0 |
comparison
equal
deleted
inserted
replaced
1085:bf6f64dabe73 | 1086:9f4505ac9072 |
---|---|
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_RUBBERBAND HAVE_DATAQUAY HAVE_LIBLO HAVE_MAD HAVE_ID3TAG HAVE_PORTAUDIO_2_0 | |
29 | |
30 LIBS += -lbz2 -lrubberband -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 |