annotate data/fileio/test/test.pro @ 1177:79f7af8873c9

Add -ldl in a couple more places
author Chris Cannam
date Mon, 21 Mar 2016 10:02:21 +0000
parents 9c7633904ec2
children e5a1d815f331
rev   line source
Chris@756 1
Chris@756 2 TEMPLATE = app
Chris@756 3
Chris@807 4 LIBS += -L../../.. -L../../../../dataquay -L../../../release -L../../../../dataquay/release -lsvcore -ldataquay
Chris@756 5
Chris@782 6 win32-g++ {
Chris@782 7 INCLUDEPATH += ../../../../sv-dependency-builds/win32-mingw/include
Chris@782 8 LIBS += -L../../../../sv-dependency-builds/win32-mingw/lib
Chris@782 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@782 18
Chris@782 19 exists(../../../config.pri) {
Chris@782 20 include(../../../config.pri)
Chris@782 21 }
Chris@782 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@1145 30 LIBS += -lbz2 -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@782 38 }
Chris@1177 39 linux* {
Chris@1177 40 LIBS += -ldl
Chris@1177 41 }
Chris@782 42 }
Chris@756 43
Chris@1055 44 CONFIG += qt thread warn_on stl rtti exceptions console c++11
Chris@756 45 QT += network xml testlib
Chris@756 46 QT -= gui
Chris@756 47
Chris@879 48 TARGET = svcore-data-fileio-test
Chris@756 49
Chris@756 50 DEPENDPATH += ../../..
Chris@756 51 INCLUDEPATH += ../../..
Chris@756 52 OBJECTS_DIR = o
Chris@756 53 MOC_DIR = o
Chris@756 54
Chris@756 55 HEADERS += AudioFileReaderTest.h \
Chris@756 56 AudioTestData.h
Chris@756 57 SOURCES += main.cpp
Chris@756 58
Chris@756 59 win* {
Chris@782 60 //PRE_TARGETDEPS += ../../../svcore.lib
Chris@756 61 }
Chris@756 62 !win* {
Chris@756 63 PRE_TARGETDEPS += ../../../libsvcore.a
Chris@756 64 }
Chris@756 65
Chris@756 66 !win32 {
Chris@756 67 !macx* {
Chris@756 68 QMAKE_POST_LINK=./$${TARGET}
Chris@756 69 }
Chris@756 70 macx* {
Chris@756 71 QMAKE_POST_LINK=./$${TARGET}.app/Contents/MacOS/$${TARGET}
Chris@756 72 }
Chris@756 73 }
Chris@756 74
Chris@765 75 win32:QMAKE_POST_LINK=./release/$${TARGET}.exe
Chris@756 76