comparison sv.pro @ 539:bf1c6e2b8791 with-dependencies

Windows build fixes -- to review
author Chris Cannam
date Wed, 27 Mar 2013 17:23:05 +0000
parents 2fe2fd554522
children
comparison
equal deleted inserted replaced
538:0b32e4b13c8c 539:bf1c6e2b8791
1 1
2 TEMPLATE = app 2 TEMPLATE = app
3
4 win32-g++ {
5 INCLUDEPATH += sv-dependency-builds/win32-mingw/include
6 LIBS += -Lsv-dependency-builds/win32-mingw/lib
7 }
8 win32-msvc* {
9 INCLUDEPATH += sv-dependency-builds/win32-msvc/include
10 LIBS += -Lsv-dependency-builds/win32-msvc/lib
11 }
3 12
4 exists(config.pri) { 13 exists(config.pri) {
5 include(config.pri) 14 include(config.pri)
6 } 15 }
7 win* { 16 win* {
8 !exists(config.pri) { 17 !exists(config.pri) {
9 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 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
19 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
10 } 20 }
11 } 21 }
12 22
13 CONFIG += qt thread warn_on stl rtti exceptions 23 CONFIG += qt thread warn_on stl rtti exceptions
14 QT += network xml gui widgets 24 QT += network xml gui widgets
17 linux*:TARGET = sonic-visualiser 27 linux*:TARGET = sonic-visualiser
18 solaris*:TARGET = sonic-visualiser 28 solaris*:TARGET = sonic-visualiser
19 29
20 DEPENDPATH += . svcore svgui svapp 30 DEPENDPATH += . svcore svgui svapp
21 INCLUDEPATH += . svcore svgui svapp 31 INCLUDEPATH += . svcore svgui svapp
22
23 win32-g++ {
24 INCLUDEPATH += sv-dependency-builds/win32-mingw/include
25 LIBS += sv-dependency-builds/win32-mingw/lib
26 }
27 win32-msvc* {
28 INCLUDEPATH += sv-dependency-builds/win32-msvc/include
29 LIBS += sv-dependency-builds/win32-msvc/lib
30 }
31 32
32 TRANSLATIONS += i18n/sonic-visualiser_ru.ts i18n/sonic-visualiser_en_GB.ts i18n/sonic-visualiser_en_US.ts i18n/sonic-visualiser_cs_CZ.ts 33 TRANSLATIONS += i18n/sonic-visualiser_ru.ts i18n/sonic-visualiser_en_GB.ts i18n/sonic-visualiser_en_US.ts i18n/sonic-visualiser_cs_CZ.ts
33 34
34 OBJECTS_DIR = o 35 OBJECTS_DIR = o
35 MOC_DIR = o 36 MOC_DIR = o
44 linux* { 45 linux* {
45 MY_LIBS = -Wl,-Bstatic $$MY_LIBS -Wl,-Bdynamic 46 MY_LIBS = -Wl,-Bstatic $$MY_LIBS -Wl,-Bdynamic
46 } 47 }
47 48
48 win* { 49 win* {
49 MY_LIBS = -Lsvapp/debug -Lsvgui/debug -Lsvcore/debug -Ldataquay/debug $$MY_LIBS 50 MY_LIBS = -Lsvapp/release -Lsvgui/release -Lsvcore/release -Ldataquay/release $$MY_LIBS
50 } 51 }
51 52
52 LIBS = $$MY_LIBS $$LIBS 53 LIBS = $$MY_LIBS $$LIBS
53 54
54 win* { 55 win* {