comparison 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
comparison
equal deleted inserted replaced
781:f9f5e18a366e 782:711a4652d616
1 1
2 TEMPLATE = app 2 TEMPLATE = app
3 3
4 LIBS += -L../../.. -lsvcore 4 LIBS += -L../../.. -L../../../debug -lsvcore
5 5
6 include(../../../config.pri) 6 win32-g++ {
7 INCLUDEPATH += ../../../../sv-dependency-builds/win32-mingw/include
8 LIBS += -L../../../../sv-dependency-builds/win32-mingw/lib
9 }
10
11 exists(../../../config.pri) {
12 include(../../../config.pri)
13 }
14
15 win* {
16 !exists(../../../config.pri) {
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
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
19 }
20 }
7 21
8 CONFIG += qt thread warn_on stl rtti exceptions console 22 CONFIG += qt thread warn_on stl rtti exceptions console
9 QT += network xml testlib 23 QT += network xml testlib
10 QT -= gui 24 QT -= gui
11 25
19 HEADERS += AudioFileReaderTest.h \ 33 HEADERS += AudioFileReaderTest.h \
20 AudioTestData.h 34 AudioTestData.h
21 SOURCES += main.cpp 35 SOURCES += main.cpp
22 36
23 win* { 37 win* {
24 PRE_TARGETDEPS += ../../../svcore.lib 38 //PRE_TARGETDEPS += ../../../svcore.lib
25 } 39 }
26 !win* { 40 !win* {
27 PRE_TARGETDEPS += ../../../libsvcore.a 41 PRE_TARGETDEPS += ../../../libsvcore.a
28 } 42 }
29 43