Chris@451
|
1
|
Chris@451
|
2 TEMPLATE = app
|
Chris@451
|
3
|
Chris@639
|
4 exists(config.pri) {
|
Chris@639
|
5 include(config.pri)
|
Chris@639
|
6 }
|
Chris@639
|
7
|
Chris@742
|
8 !exists(config.pri) {
|
Chris@1279
|
9 include(noconfig.pri)
|
Chris@639
|
10 }
|
Chris@451
|
11
|
Chris@1332
|
12 include(base.pri)
|
Chris@1332
|
13
|
Chris@951
|
14 QT += network xml gui widgets svg
|
Chris@451
|
15
|
Chris@451
|
16 TARGET = "Sonic Visualiser"
|
Chris@451
|
17 linux*:TARGET = sonic-visualiser
|
Chris@451
|
18 solaris*:TARGET = sonic-visualiser
|
Chris@451
|
19
|
Chris@1548
|
20 !win32 {
|
Chris@1831
|
21 PRE_TARGETDEPS += $$PWD/libbase.a
|
Chris@1548
|
22 QMAKE_POST_LINK += cp checker/vamp-plugin-load-checker .
|
Chris@1548
|
23 }
|
Chris@1548
|
24
|
Chris@1509
|
25 linux* {
|
Chris@1753
|
26 sv_bins.path = $$PREFIX_PATH/bin/
|
Chris@1745
|
27 sv_bins.files = piper-vamp-simple-server vamp-plugin-load-checker sonic-visualiser
|
Chris@1509
|
28 INSTALLS += sv_bins
|
Chris@1509
|
29 }
|
Chris@1509
|
30
|
Chris@1279
|
31 TRANSLATIONS += \
|
Chris@1279
|
32 i18n/sonic-visualiser_ru.ts \
|
Chris@1279
|
33 i18n/sonic-visualiser_en_GB.ts \
|
Chris@1279
|
34 i18n/sonic-visualiser_en_US.ts \
|
Chris@1279
|
35 i18n/sonic-visualiser_cs_CZ.ts
|
Chris@451
|
36
|
Chris@451
|
37 OBJECTS_DIR = o
|
Chris@451
|
38 MOC_DIR = o
|
Chris@451
|
39
|
Chris@451
|
40 ICON = icons/sv-macicon.icns
|
Chris@451
|
41 RC_FILE = icons/sv.rc
|
Chris@451
|
42
|
Chris@1279
|
43 RESOURCES += sonic-visualiser.qrc
|
Chris@451
|
44
|
Chris@1279
|
45 # Mac integration
|
Chris@1279
|
46 QMAKE_INFO_PLIST = deploy/osx/Info.plist
|
Chris@528
|
47
|
Chris@1279
|
48 include(svgui/files.pri)
|
Chris@1279
|
49 include(svapp/files.pri)
|
Chris@1279
|
50
|
Chris@1279
|
51 for (file, SVGUI_SOURCES) { SOURCES += $$sprintf("svgui/%1", $$file) }
|
Chris@1279
|
52 for (file, SVAPP_SOURCES) { SOURCES += $$sprintf("svapp/%1", $$file) }
|
Chris@1279
|
53
|
Chris@1279
|
54 for (file, SVGUI_HEADERS) { HEADERS += $$sprintf("svgui/%1", $$file) }
|
Chris@1279
|
55 for (file, SVAPP_HEADERS) { HEADERS += $$sprintf("svapp/%1", $$file) }
|
Chris@451
|
56
|
Chris@1142
|
57 HEADERS += \
|
Chris@1142
|
58 main/MainWindow.h \
|
Chris@1142
|
59 main/NetworkPermissionTester.h \
|
Chris@1142
|
60 main/Surveyer.h \
|
Chris@1142
|
61 main/SVSplash.h \
|
Chris@1142
|
62 main/PreferencesDialog.h
|
Chris@1279
|
63
|
Chris@1142
|
64 SOURCES += \
|
Chris@1142
|
65 main/main.cpp \
|
Chris@1142
|
66 main/OSCHandler.cpp \
|
Chris@1142
|
67 main/MainWindow.cpp \
|
Chris@1142
|
68 main/NetworkPermissionTester.cpp \
|
Chris@1142
|
69 main/Surveyer.cpp \
|
Chris@1142
|
70 main/SVSplash.cpp \
|
Chris@1142
|
71 main/PreferencesDialog.cpp
|
Chris@451
|
72
|