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@879: Chris@879: exists(../../config.pri) { Chris@879: include(../../config.pri) Chris@879: } Chris@879: Chris@879: win* { Chris@879: !exists(../../config.pri) { Chris@879: 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: 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: } Chris@879: } Chris@879: Chris@879: CONFIG += qt thread warn_on stl rtti exceptions console 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@883: HEADERS += TestRangeMapper.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: