annotate data/fileio/test/test.pro @ 782:711a4652d616 qt5

Windows build fixes -- to review
author Chris Cannam
date Wed, 27 Mar 2013 17:21:58 +0000
parents 001d77a720ce
children c724b148576d
rev   line source
Chris@756 1
Chris@756 2 TEMPLATE = app
Chris@756 3
Chris@782 4 LIBS += -L../../.. -L../../../debug -lsvcore
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@782 10
Chris@782 11 exists(../../../config.pri) {
Chris@782 12 include(../../../config.pri)
Chris@782 13 }
Chris@782 14
Chris@782 15 win* {
Chris@782 16 !exists(../../../config.pri) {
Chris@782 17 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@782 18 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@782 19 }
Chris@782 20 }
Chris@756 21
Chris@756 22 CONFIG += qt thread warn_on stl rtti exceptions console
Chris@756 23 QT += network xml testlib
Chris@756 24 QT -= gui
Chris@756 25
Chris@756 26 TARGET = svcore-test
Chris@756 27
Chris@756 28 DEPENDPATH += ../../..
Chris@756 29 INCLUDEPATH += ../../..
Chris@756 30 OBJECTS_DIR = o
Chris@756 31 MOC_DIR = o
Chris@756 32
Chris@756 33 HEADERS += AudioFileReaderTest.h \
Chris@756 34 AudioTestData.h
Chris@756 35 SOURCES += main.cpp
Chris@756 36
Chris@756 37 win* {
Chris@782 38 //PRE_TARGETDEPS += ../../../svcore.lib
Chris@756 39 }
Chris@756 40 !win* {
Chris@756 41 PRE_TARGETDEPS += ../../../libsvcore.a
Chris@756 42 }
Chris@756 43
Chris@756 44 !win32 {
Chris@756 45 !macx* {
Chris@756 46 QMAKE_POST_LINK=./$${TARGET}
Chris@756 47 }
Chris@756 48 macx* {
Chris@756 49 QMAKE_POST_LINK=./$${TARGET}.app/Contents/MacOS/$${TARGET}
Chris@756 50 }
Chris@756 51 }
Chris@756 52
Chris@765 53 win32:QMAKE_POST_LINK=./release/$${TARGET}.exe
Chris@756 54