changeset 83:e3b4bac5b114

Add sv-dependency-builds subdir for dependencies (may or may not exist)
author Chris Cannam
date Thu, 09 May 2013 10:34:52 +0100
parents 03f33b0cbcfd
children e15f291f3500 318e2f177ed5
files platform-dataquay.pri runner.pro
diffstat 2 files changed, 22 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/platform-dataquay.pri	Wed May 08 17:12:51 2013 +0100
+++ b/platform-dataquay.pri	Thu May 09 10:34:52 2013 +0100
@@ -11,3 +11,7 @@
 QMAKE_CXXFLAGS += -I/usr/local/include/sord-0 -I/usr/local/include/serd-0 -I/usr/include/sord-0 -I/usr/include/serd-0
 EXTRALIBS += -lsord-0 -lserd-0
 
+win32-g++: {
+    INCLUDEPATH += ../sv-dependency-builds/win32-mingw/include
+    LIBS += -L../../sv-dependency-builds/win32-mingw/lib
+}
--- a/runner.pro	Wed May 08 17:12:51 2013 +0100
+++ b/runner.pro	Thu May 09 10:34:52 2013 +0100
@@ -1,6 +1,23 @@
 TEMPLATE = app
 
-include(config.pri)
+win32-g++ {
+    INCLUDEPATH += sv-dependency-builds/win32-mingw/include
+    LIBS += -Lsv-dependency-builds/win32-mingw/lib
+}
+win32-msvc* {
+    INCLUDEPATH += sv-dependency-builds/win32-msvc/include
+    LIBS += -Lsv-dependency-builds/win32-msvc/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_DATAQUAY HAVE_MAD HAVE_ID3TAG 
+        LIBS += -lbz2 -lvamp-hostsdk -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lsamplerate -lz -lsord-0 -lserd-0 -lwinmm -lws2_32
+    }
+}
 
 CONFIG += qt thread warn_on stl rtti exceptions console
 QT += xml network