annotate data/fileio/test/test.pro @ 1219:794b64e62e58 msvc2015_64

Tidy and re-fix for Linux
author Chris Cannam
date Wed, 19 Oct 2016 09:11:51 +0100
parents 69c84a66727b
children 24c0d4c5356e
rev   line source
Chris@756 1
Chris@756 2 TEMPLATE = app
Chris@756 3
Chris@1185 4 INCLUDEPATH += ../../../../vamp-plugin-sdk
Chris@1185 5
Chris@807 6 LIBS += -L../../.. -L../../../../dataquay -L../../../release -L../../../../dataquay/release -lsvcore -ldataquay
Chris@756 7
Chris@782 8 win32-g++ {
Chris@782 9 INCLUDEPATH += ../../../../sv-dependency-builds/win32-mingw/include
Chris@782 10 LIBS += -L../../../../sv-dependency-builds/win32-mingw/lib
Chris@782 11 }
Chris@945 12 win32-msvc* {
Chris@945 13 INCLUDEPATH += ../../../../sv-dependency-builds/win32-msvc/include
Chris@945 14 LIBS += -L../../../../sv-dependency-builds/win32-msvc/lib
Chris@945 15 }
Chris@945 16 mac* {
Chris@945 17 INCLUDEPATH += ../../../../sv-dependency-builds/osx/include
Chris@945 18 LIBS += -L../../../../sv-dependency-builds/osx/lib
Chris@945 19 }
Chris@782 20
Chris@782 21 exists(../../../config.pri) {
Chris@782 22 include(../../../config.pri)
Chris@782 23 }
Chris@782 24
Chris@945 25 !exists(../../../config.pri) {
Chris@945 26
Chris@945 27 CONFIG += release
Chris@945 28 DEFINES += NDEBUG BUILD_RELEASE NO_TIMING
Chris@945 29
Chris@1125 30 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
Chris@945 31
Chris@1145 32 LIBS += -lbz2 -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lportaudio -lsamplerate -lz -lsord-0 -lserd-0
Chris@945 33
Chris@945 34 win* {
Chris@945 35 LIBS += -llo -lwinmm -lws2_32
Chris@945 36 }
Chris@945 37 macx* {
Chris@945 38 DEFINES += HAVE_COREAUDIO
Chris@945 39 LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate
Chris@782 40 }
Chris@1177 41 linux* {
Chris@1177 42 LIBS += -ldl
Chris@1177 43 }
Chris@782 44 }
Chris@756 45
Chris@1055 46 CONFIG += qt thread warn_on stl rtti exceptions console c++11
Chris@756 47 QT += network xml testlib
Chris@756 48 QT -= gui
Chris@756 49
Chris@879 50 TARGET = svcore-data-fileio-test
Chris@756 51
Chris@756 52 DEPENDPATH += ../../..
Chris@756 53 INCLUDEPATH += ../../..
Chris@756 54 OBJECTS_DIR = o
Chris@756 55 MOC_DIR = o
Chris@756 56
Chris@756 57 HEADERS += AudioFileReaderTest.h \
Chris@756 58 AudioTestData.h
Chris@756 59 SOURCES += main.cpp
Chris@756 60
Chris@756 61 win* {
Chris@782 62 //PRE_TARGETDEPS += ../../../svcore.lib
Chris@756 63 }
Chris@756 64 !win* {
Chris@756 65 PRE_TARGETDEPS += ../../../libsvcore.a
Chris@756 66 }
Chris@756 67
Chris@756 68 !win32 {
Chris@756 69 !macx* {
Chris@756 70 QMAKE_POST_LINK=./$${TARGET}
Chris@756 71 }
Chris@756 72 macx* {
Chris@756 73 QMAKE_POST_LINK=./$${TARGET}.app/Contents/MacOS/$${TARGET}
Chris@756 74 }
Chris@756 75 }
Chris@756 76
Chris@765 77 win32:QMAKE_POST_LINK=./release/$${TARGET}.exe
Chris@756 78