annotate base/test/test.pro @ 1120:def2db9c4ab0

svcore should not depend on rubberband
author Chris Cannam
date Wed, 19 Aug 2015 16:32:46 +0100
parents 0559f25b99f2
children 2c43f9904068
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@945 10 win32-msvc* {
Chris@945 11 INCLUDEPATH += ../../../sv-dependency-builds/win32-msvc/include
Chris@945 12 LIBS += -L../../../sv-dependency-builds/win32-msvc/lib
Chris@945 13 }
Chris@945 14 mac* {
Chris@945 15 INCLUDEPATH += ../../../sv-dependency-builds/osx/include
Chris@945 16 LIBS += -L../../../sv-dependency-builds/osx/lib
Chris@945 17 }
Chris@879 18
Chris@879 19 exists(../../config.pri) {
Chris@879 20 include(../../config.pri)
Chris@879 21 }
Chris@879 22
Chris@945 23 !exists(../../config.pri) {
Chris@945 24
Chris@945 25 CONFIG += release
Chris@945 26 DEFINES += NDEBUG BUILD_RELEASE NO_TIMING
Chris@945 27
Chris@1120 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_2_0
Chris@945 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@945 31
Chris@945 32 win* {
Chris@945 33 LIBS += -llo -lwinmm -lws2_32
Chris@945 34 }
Chris@945 35 macx* {
Chris@945 36 DEFINES += HAVE_COREAUDIO
Chris@945 37 LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate
Chris@879 38 }
Chris@879 39 }
Chris@879 40
Chris@1055 41 CONFIG += qt thread warn_on stl rtti exceptions console c++11
Chris@879 42 QT += network xml testlib
Chris@879 43 QT -= gui
Chris@879 44
Chris@879 45 TARGET = svcore-base-test
Chris@879 46
Chris@879 47 DEPENDPATH += ../..
Chris@879 48 INCLUDEPATH += ../..
Chris@879 49 OBJECTS_DIR = o
Chris@879 50 MOC_DIR = o
Chris@879 51
Chris@1022 52 HEADERS += TestRangeMapper.h TestPitch.h TestRealTime.h TestStringBits.h
Chris@879 53 SOURCES += main.cpp
Chris@879 54
Chris@879 55 win* {
Chris@879 56 //PRE_TARGETDEPS += ../../svcore.lib
Chris@879 57 }
Chris@879 58 !win* {
Chris@879 59 PRE_TARGETDEPS += ../../libsvcore.a
Chris@879 60 }
Chris@879 61
Chris@879 62 !win32 {
Chris@879 63 !macx* {
Chris@879 64 QMAKE_POST_LINK=./$${TARGET}
Chris@879 65 }
Chris@879 66 macx* {
Chris@879 67 QMAKE_POST_LINK=./$${TARGET}.app/Contents/MacOS/$${TARGET}
Chris@879 68 }
Chris@879 69 }
Chris@879 70
Chris@879 71 win32:QMAKE_POST_LINK=./release/$${TARGET}.exe
Chris@879 72