changeset 782:711a4652d616 qt5

Windows build fixes -- to review
author Chris Cannam
date Wed, 27 Mar 2013 17:21:58 +0000
parents f9f5e18a366e
children 8e8d0f1f4f85
files data/fileio/test/test.pro
diffstat 1 files changed, 17 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/data/fileio/test/test.pro	Wed Mar 27 16:54:59 2013 +0000
+++ b/data/fileio/test/test.pro	Wed Mar 27 17:21:58 2013 +0000
@@ -1,9 +1,23 @@
 
 TEMPLATE = app
 
-LIBS += -L../../.. -lsvcore
+LIBS += -L../../.. -L../../../debug -lsvcore
 
-include(../../../config.pri)
+win32-g++ {
+    INCLUDEPATH += ../../../../sv-dependency-builds/win32-mingw/include
+    LIBS += -L../../../../sv-dependency-builds/win32-mingw/lib
+}
+
+exists(../../../config.pri) {
+    include(../../../config.pri)
+}
+
+win* {
+    !exists(../../../config.pri) {
+        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
+        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
+    }
+}
 
 CONFIG += qt thread warn_on stl rtti exceptions console
 QT += network xml testlib
@@ -21,7 +35,7 @@
 SOURCES += main.cpp
 
 win* {
-PRE_TARGETDEPS += ../../../svcore.lib
+//PRE_TARGETDEPS += ../../../svcore.lib
 }
 !win* {
 PRE_TARGETDEPS += ../../../libsvcore.a