Mercurial > hg > tony
comparison tonyapp.pro @ 52:ab10f175b4cb
Win32 build stuff
author | Chris Cannam <chris.cannam@eecs.qmul.ac.uk> |
---|---|
date | Mon, 15 Jul 2013 18:40:26 +0100 |
parents | 8b7383948381 |
children | a67f0e5ec654 |
comparison
equal
deleted
inserted
replaced
51:6e01e3d64975 | 52:ab10f175b4cb |
---|---|
1 | 1 |
2 TEMPLATE = app | 2 TEMPLATE = app |
3 | 3 |
4 include(config.pri) | 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 } | |
12 | |
13 exists(config.pri) { | |
14 include(config.pri) | |
15 } | |
16 win* { | |
17 !exists(config.pri) { | |
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 | |
20 } | |
21 } | |
5 | 22 |
6 CONFIG += qt thread warn_on stl rtti exceptions | 23 CONFIG += qt thread warn_on stl rtti exceptions |
7 QT += network xml gui widgets | 24 QT += network xml gui widgets |
8 | 25 |
9 TARGET = Tony | 26 TARGET = Tony |
22 | 39 |
23 linux* { | 40 linux* { |
24 MY_LIBS = -Wl,-Bstatic $$MY_LIBS -Wl,-Bdynamic | 41 MY_LIBS = -Wl,-Bstatic $$MY_LIBS -Wl,-Bdynamic |
25 } | 42 } |
26 | 43 |
44 win* { | |
45 MY_LIBS = -Lsvapp/release -Lsvgui/release -Lsvcore/release -Ldataquay/release $$MY_LIBS | |
46 } | |
47 | |
27 LIBS = $$MY_LIBS $$LIBS | 48 LIBS = $$MY_LIBS $$LIBS |
28 | 49 |
29 win* { | 50 win32-msvc* { |
30 PRE_TARGETDEPS += svapp/svapp.lib \ | 51 PRE_TARGETDEPS += svapp/svapp.lib \ |
31 svgui/svgui.lib \ | 52 svgui/svgui.lib \ |
32 svcore/svcore.lib \ | 53 svcore/svcore.lib \ |
33 dataquay/dataquay.lib | 54 dataquay/dataquay.lib |
34 } | 55 } |
56 | |
57 win32-g++ { | |
58 PRE_TARGETDEPS += svapp/release/libsvapp.a \ | |
59 svgui/release/libsvgui.a \ | |
60 svcore/release/libsvcore.a \ | |
61 dataquay/release/libdataquay.a | |
62 } | |
63 | |
35 !win* { | 64 !win* { |
36 PRE_TARGETDEPS += svapp/libsvapp.a \ | 65 PRE_TARGETDEPS += svapp/libsvapp.a \ |
37 svgui/libsvgui.a \ | 66 svgui/libsvgui.a \ |
38 svcore/libsvcore.a \ | 67 svcore/libsvcore.a \ |
39 dataquay/libdataquay.a | 68 dataquay/libdataquay.a |