comparison base/test/test.pro @ 879:eb6b6a88faed

Unit-test RangeMapper, fix a couple of bugs
author Chris Cannam
date Fri, 31 Jan 2014 13:39:37 +0000
parents
children 4cc8265c4611
comparison
equal deleted inserted replaced
862:786ee8d1f30e 879:eb6b6a88faed
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
11 exists(../../config.pri) {
12 include(../../config.pri)
13 }
14
15 win* {
16 !exists(../../config.pri) {
17 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
18 LIBS += -lbz2 -lrubberband -lvamp-hostsdk -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lportaudio -lsamplerate -llo -lz -lsord-0 -lserd-0 -lwinmm -lws2_32
19 }
20 }
21
22 CONFIG += qt thread warn_on stl rtti exceptions console
23 QT += network xml testlib
24 QT -= gui
25
26 TARGET = svcore-base-test
27
28 DEPENDPATH += ../..
29 INCLUDEPATH += ../..
30 OBJECTS_DIR = o
31 MOC_DIR = o
32
33 HEADERS += RangeMapperTest.h
34 SOURCES += main.cpp
35
36 win* {
37 //PRE_TARGETDEPS += ../../svcore.lib
38 }
39 !win* {
40 PRE_TARGETDEPS += ../../libsvcore.a
41 }
42
43 !win32 {
44 !macx* {
45 QMAKE_POST_LINK=./$${TARGET}
46 }
47 macx* {
48 QMAKE_POST_LINK=./$${TARGET}.app/Contents/MacOS/$${TARGET}
49 }
50 }
51
52 win32:QMAKE_POST_LINK=./release/$${TARGET}.exe
53