annotate base/test/test.pro @ 907:a589d2201a0c

Merge from 900:dcfc40fc896e
author Chris Cannam
date Wed, 07 May 2014 15:17:58 +0100
parents 451f7f3ab6e7
children 2f6472c74399
rev   line source
Chris@879 1
Chris@879 2 TEMPLATE = app
Chris@879 3
Chris@879 4 LIBS += -L../.. -L../../../dataquay -L../../release -L../../../dataquay/release -lsvcore -ldataquay
Chris@879 5
Chris@879 6 win32-g++ {
Chris@879 7 INCLUDEPATH += ../../../sv-dependency-builds/win32-mingw/include
Chris@879 8 LIBS += -L../../../sv-dependency-builds/win32-mingw/lib
Chris@879 9 }
Chris@879 10
Chris@879 11 exists(../../config.pri) {
Chris@879 12 include(../../config.pri)
Chris@879 13 }
Chris@879 14
Chris@879 15 win* {
Chris@879 16 !exists(../../config.pri) {
Chris@879 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
Chris@879 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
Chris@879 19 }
Chris@879 20 }
Chris@879 21
Chris@879 22 CONFIG += qt thread warn_on stl rtti exceptions console
Chris@879 23 QT += network xml testlib
Chris@879 24 QT -= gui
Chris@879 25
Chris@879 26 TARGET = svcore-base-test
Chris@879 27
Chris@879 28 DEPENDPATH += ../..
Chris@879 29 INCLUDEPATH += ../..
Chris@879 30 OBJECTS_DIR = o
Chris@879 31 MOC_DIR = o
Chris@879 32
Chris@892 33 HEADERS += TestRangeMapper.h TestPitch.h
Chris@879 34 SOURCES += main.cpp
Chris@879 35
Chris@879 36 win* {
Chris@879 37 //PRE_TARGETDEPS += ../../svcore.lib
Chris@879 38 }
Chris@879 39 !win* {
Chris@879 40 PRE_TARGETDEPS += ../../libsvcore.a
Chris@879 41 }
Chris@879 42
Chris@879 43 !win32 {
Chris@879 44 !macx* {
Chris@879 45 QMAKE_POST_LINK=./$${TARGET}
Chris@879 46 }
Chris@879 47 macx* {
Chris@879 48 QMAKE_POST_LINK=./$${TARGET}.app/Contents/MacOS/$${TARGET}
Chris@879 49 }
Chris@879 50 }
Chris@879 51
Chris@879 52 win32:QMAKE_POST_LINK=./release/$${TARGET}.exe
Chris@879 53