Chris@879: Chris@879: TEMPLATE = app Chris@879: Chris@879: LIBS += -L../.. -L../../../dataquay -L../../release -L../../../dataquay/release -lsvcore -ldataquay Chris@879: Chris@879: win32-g++ { Chris@879: INCLUDEPATH += ../../../sv-dependency-builds/win32-mingw/include Chris@879: LIBS += -L../../../sv-dependency-builds/win32-mingw/lib Chris@879: } Chris@945: win32-msvc* { Chris@945: INCLUDEPATH += ../../../sv-dependency-builds/win32-msvc/include Chris@945: LIBS += -L../../../sv-dependency-builds/win32-msvc/lib Chris@945: } Chris@945: mac* { Chris@945: INCLUDEPATH += ../../../sv-dependency-builds/osx/include Chris@945: LIBS += -L../../../sv-dependency-builds/osx/lib Chris@945: } Chris@879: Chris@879: exists(../../config.pri) { Chris@879: include(../../config.pri) Chris@879: } Chris@879: Chris@945: !exists(../../config.pri) { Chris@945: Chris@945: CONFIG += release Chris@945: DEFINES += NDEBUG BUILD_RELEASE NO_TIMING Chris@945: Chris@1120: 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: Chris@1120: LIBS += -lbz2 -lvamp-hostsdk -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lportaudio -lsamplerate -lz -lsord-0 -lserd-0 Chris@945: Chris@945: win* { Chris@945: LIBS += -llo -lwinmm -lws2_32 Chris@945: } Chris@945: macx* { Chris@945: DEFINES += HAVE_COREAUDIO Chris@945: LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate Chris@879: } Chris@879: } Chris@879: Chris@1055: CONFIG += qt thread warn_on stl rtti exceptions console c++11 Chris@879: QT += network xml testlib Chris@879: QT -= gui Chris@879: Chris@879: TARGET = svcore-base-test Chris@879: Chris@879: DEPENDPATH += ../.. Chris@879: INCLUDEPATH += ../.. Chris@879: OBJECTS_DIR = o Chris@879: MOC_DIR = o Chris@879: Chris@1022: HEADERS += TestRangeMapper.h TestPitch.h TestRealTime.h TestStringBits.h Chris@879: SOURCES += main.cpp Chris@879: Chris@879: win* { Chris@879: //PRE_TARGETDEPS += ../../svcore.lib Chris@879: } Chris@879: !win* { Chris@879: PRE_TARGETDEPS += ../../libsvcore.a Chris@879: } Chris@879: Chris@879: !win32 { Chris@879: !macx* { Chris@879: QMAKE_POST_LINK=./$${TARGET} Chris@879: } Chris@879: macx* { Chris@879: QMAKE_POST_LINK=./$${TARGET}.app/Contents/MacOS/$${TARGET} Chris@879: } Chris@879: } Chris@879: Chris@879: win32:QMAKE_POST_LINK=./release/$${TARGET}.exe Chris@879: