Chris@451
|
1
|
Chris@451
|
2 TEMPLATE = app
|
Chris@451
|
3
|
Chris@1142
|
4 INCLUDEPATH += vamp-plugin-sdk
|
Chris@1142
|
5
|
Chris@639
|
6 win32-g++ {
|
Chris@639
|
7 INCLUDEPATH += sv-dependency-builds/win32-mingw/include
|
Chris@1059
|
8 LIBS += -Lrelease -Lsv-dependency-builds/win32-mingw/lib
|
Chris@639
|
9 }
|
Chris@639
|
10 win32-msvc* {
|
Chris@639
|
11 INCLUDEPATH += sv-dependency-builds/win32-msvc/include
|
Chris@1059
|
12 LIBS += -Lrelease -Lsv-dependency-builds/win32-msvc/lib
|
Chris@639
|
13 }
|
Chris@742
|
14 mac* {
|
Chris@742
|
15 INCLUDEPATH += sv-dependency-builds/osx/include
|
Chris@742
|
16 LIBS += -Lsv-dependency-builds/osx/lib
|
Chris@742
|
17 }
|
Chris@639
|
18
|
Chris@639
|
19 exists(config.pri) {
|
Chris@639
|
20 include(config.pri)
|
Chris@639
|
21 }
|
Chris@639
|
22
|
Chris@742
|
23 !exists(config.pri) {
|
Chris@742
|
24
|
Chris@742
|
25 CONFIG += release
|
Chris@742
|
26 DEFINES += NDEBUG BUILD_RELEASE NO_TIMING
|
Chris@742
|
27
|
Chris@1035
|
28 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
|
Chris@742
|
29
|
Chris@1152
|
30 LIBS += -lbz2 -lrubberband -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lportaudio -lsamplerate -lz -lsord-0 -lserd-0 -llo
|
Chris@742
|
31
|
Chris@742
|
32 win* {
|
Chris@1156
|
33 DEFINES += _USE_MATH_DEFINES
|
Chris@743
|
34 LIBS += -lwinmm -lws2_32
|
Chris@742
|
35 }
|
Chris@742
|
36 macx* {
|
Chris@742
|
37 DEFINES += HAVE_COREAUDIO
|
Chris@742
|
38 LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate
|
Chris@639
|
39 }
|
Chris@639
|
40 }
|
Chris@451
|
41
|
Chris@1255
|
42 LIBS += -lcapnp -lkj ##!!!
|
Chris@1255
|
43
|
Chris@929
|
44 CONFIG += qt thread warn_on stl rtti exceptions c++11
|
Chris@951
|
45 QT += network xml gui widgets svg
|
Chris@451
|
46
|
Chris@451
|
47 TARGET = "Sonic Visualiser"
|
Chris@451
|
48 linux*:TARGET = sonic-visualiser
|
Chris@451
|
49 solaris*:TARGET = sonic-visualiser
|
Chris@451
|
50
|
Chris@1255
|
51 DEPENDPATH += . bqaudioio piper-cpp svcore svgui svapp
|
Chris@1255
|
52 INCLUDEPATH += . bqaudioio piper-cpp svcore svgui svapp
|
Chris@451
|
53
|
Chris@451
|
54 TRANSLATIONS += i18n/sonic-visualiser_ru.ts i18n/sonic-visualiser_en_GB.ts i18n/sonic-visualiser_en_US.ts i18n/sonic-visualiser_cs_CZ.ts
|
Chris@451
|
55
|
Chris@451
|
56 OBJECTS_DIR = o
|
Chris@451
|
57 MOC_DIR = o
|
Chris@451
|
58
|
Chris@451
|
59 ICON = icons/sv-macicon.icns
|
Chris@451
|
60 RC_FILE = icons/sv.rc
|
Chris@451
|
61
|
Chris@451
|
62 contains(DEFINES, BUILD_STATIC):LIBS -= -ljack
|
Chris@451
|
63
|
Chris@1147
|
64 MY_LIBS = -Lsvapp -Lsvgui -Lsvcore -Lchecker -Ldataquay -L. \
|
Chris@1144
|
65 -lsvapp -lsvgui -lsvcore -lchecker -ldataquay -lbq
|
Chris@528
|
66
|
Chris@528
|
67 linux* {
|
Chris@528
|
68 MY_LIBS = -Wl,-Bstatic $$MY_LIBS -Wl,-Bdynamic
|
Chris@528
|
69 }
|
Chris@528
|
70
|
Chris@639
|
71 win* {
|
Chris@1147
|
72 MY_LIBS = -Lsvapp/release -Lsvgui/release -Lsvcore/release -Lchecker/release -Ldataquay/release $$MY_LIBS
|
Chris@639
|
73 }
|
Chris@639
|
74
|
Chris@528
|
75 LIBS = $$MY_LIBS $$LIBS
|
Chris@451
|
76
|
Chris@503
|
77 win* {
|
Chris@689
|
78 PRE_TARGETDEPS += svapp/release/libsvapp.a \
|
Chris@689
|
79 svgui/release/libsvgui.a \
|
Chris@689
|
80 svcore/release/libsvcore.a \
|
Chris@1144
|
81 dataquay/release/libdataquay.a \
|
Chris@1147
|
82 checker/release/libchecker.a
|
Chris@503
|
83 }
|
Chris@503
|
84 !win* {
|
Chris@668
|
85 PRE_TARGETDEPS += svapp/libsvapp.a \
|
Chris@668
|
86 svgui/libsvgui.a \
|
Chris@668
|
87 svcore/libsvcore.a \
|
Chris@1144
|
88 dataquay/libdataquay.a \
|
Chris@1147
|
89 checker/libchecker.a
|
Chris@503
|
90 }
|
Chris@451
|
91
|
Chris@451
|
92 RESOURCES += sonic-visualiser.qrc
|
Chris@451
|
93
|
Chris@1142
|
94 HEADERS += \
|
Chris@1142
|
95 vamp-plugin-sdk/vamp-hostsdk/PluginBase.h \
|
Chris@1142
|
96 vamp-plugin-sdk/vamp-hostsdk/PluginBufferingAdapter.h \
|
Chris@1142
|
97 vamp-plugin-sdk/vamp-hostsdk/PluginChannelAdapter.h \
|
Chris@1142
|
98 vamp-plugin-sdk/vamp-hostsdk/Plugin.h \
|
Chris@1142
|
99 vamp-plugin-sdk/vamp-hostsdk/PluginHostAdapter.h \
|
Chris@1142
|
100 vamp-plugin-sdk/vamp-hostsdk/PluginInputDomainAdapter.h \
|
Chris@1142
|
101 vamp-plugin-sdk/vamp-hostsdk/PluginLoader.h \
|
Chris@1142
|
102 vamp-plugin-sdk/vamp-hostsdk/PluginSummarisingAdapter.h \
|
Chris@1142
|
103 vamp-plugin-sdk/vamp-hostsdk/PluginWrapper.h \
|
Chris@1142
|
104 vamp-plugin-sdk/vamp-hostsdk/RealTime.h \
|
Chris@1142
|
105 vamp-plugin-sdk/src/vamp-hostsdk/Window.h \
|
Chris@1142
|
106 main/MainWindow.h \
|
Chris@1142
|
107 main/NetworkPermissionTester.h \
|
Chris@1142
|
108 main/Surveyer.h \
|
Chris@1142
|
109 main/SVSplash.h \
|
Chris@1142
|
110 main/PreferencesDialog.h
|
Chris@1142
|
111 SOURCES += \
|
Chris@1142
|
112 vamp-plugin-sdk/src/vamp-hostsdk/PluginBufferingAdapter.cpp \
|
Chris@1142
|
113 vamp-plugin-sdk/src/vamp-hostsdk/PluginChannelAdapter.cpp \
|
Chris@1142
|
114 vamp-plugin-sdk/src/vamp-hostsdk/PluginHostAdapter.cpp \
|
Chris@1142
|
115 vamp-plugin-sdk/src/vamp-hostsdk/PluginInputDomainAdapter.cpp \
|
Chris@1142
|
116 vamp-plugin-sdk/src/vamp-hostsdk/PluginLoader.cpp \
|
Chris@1142
|
117 vamp-plugin-sdk/src/vamp-hostsdk/PluginSummarisingAdapter.cpp \
|
Chris@1142
|
118 vamp-plugin-sdk/src/vamp-hostsdk/PluginWrapper.cpp \
|
Chris@1142
|
119 vamp-plugin-sdk/src/vamp-hostsdk/RealTime.cpp \
|
Chris@1142
|
120 vamp-plugin-sdk/src/vamp-hostsdk/Files.cpp \
|
Chris@1255
|
121 piper-cpp/vamp-capnp/piper.capnp.c++ \
|
Chris@1142
|
122 main/main.cpp \
|
Chris@1142
|
123 main/OSCHandler.cpp \
|
Chris@1142
|
124 main/MainWindow.cpp \
|
Chris@1142
|
125 main/NetworkPermissionTester.cpp \
|
Chris@1142
|
126 main/Surveyer.cpp \
|
Chris@1142
|
127 main/SVSplash.cpp \
|
Chris@1142
|
128 main/PreferencesDialog.cpp
|
Chris@451
|
129
|
Chris@451
|
130 # for mac integration
|
Chris@451
|
131 QMAKE_INFO_PLIST = deploy/osx/Info.plist
|
Chris@451
|
132
|