Chris@451
|
1
|
Chris@451
|
2 TEMPLATE = app
|
Chris@451
|
3
|
Chris@451
|
4 include(config.pri)
|
Chris@451
|
5
|
Chris@451
|
6 CONFIG += qt thread warn_on stl rtti exceptions
|
Chris@528
|
7 QT += network xml gui widgets
|
Chris@451
|
8
|
Chris@451
|
9 TARGET = "Sonic Visualiser"
|
Chris@451
|
10 linux*:TARGET = sonic-visualiser
|
Chris@451
|
11 solaris*:TARGET = sonic-visualiser
|
Chris@451
|
12
|
Chris@517
|
13 DEPENDPATH += . svcore svgui svapp
|
Chris@517
|
14 INCLUDEPATH += . svcore svgui svapp
|
Chris@451
|
15
|
Chris@451
|
16 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
|
17
|
Chris@451
|
18 OBJECTS_DIR = o
|
Chris@451
|
19 MOC_DIR = o
|
Chris@451
|
20
|
Chris@451
|
21 ICON = icons/sv-macicon.icns
|
Chris@451
|
22 RC_FILE = icons/sv.rc
|
Chris@451
|
23
|
Chris@451
|
24 contains(DEFINES, BUILD_STATIC):LIBS -= -ljack
|
Chris@451
|
25
|
Chris@528
|
26 MY_LIBS = -Lsvapp -Lsvgui -Lsvcore -Ldataquay -lsvapp -lsvgui -lsvcore -ldataquay
|
Chris@528
|
27
|
Chris@528
|
28 linux* {
|
Chris@528
|
29 MY_LIBS = -Wl,-Bstatic $$MY_LIBS -Wl,-Bdynamic
|
Chris@528
|
30 }
|
Chris@528
|
31
|
Chris@528
|
32 LIBS = $$MY_LIBS $$LIBS
|
Chris@451
|
33
|
Chris@503
|
34 win* {
|
Chris@517
|
35 PRE_TARGETDEPS += svapp/svapp.lib \
|
Chris@517
|
36 svgui/svgui.lib \
|
Chris@528
|
37 svcore/svcore.lib \
|
Chris@528
|
38 dataquay/dataquay.lib
|
Chris@503
|
39 }
|
Chris@503
|
40 !win* {
|
Chris@517
|
41 PRE_TARGETDEPS += svapp/libsvapp.a \
|
Chris@517
|
42 svgui/libsvgui.a \
|
Chris@528
|
43 svcore/libsvcore.a \
|
Chris@528
|
44 dataquay/libdataquay.a
|
Chris@503
|
45 }
|
Chris@451
|
46
|
Chris@451
|
47 RESOURCES += sonic-visualiser.qrc
|
Chris@451
|
48
|
Chris@451
|
49 HEADERS += main/MainWindow.h \
|
Chris@528
|
50 main/PreferencesDialog.h
|
Chris@451
|
51 SOURCES += main/main.cpp \
|
Chris@451
|
52 main/OSCHandler.cpp \
|
Chris@451
|
53 main/MainWindow.cpp \
|
Chris@528
|
54 main/PreferencesDialog.cpp
|
Chris@451
|
55
|
Chris@451
|
56 # for mac integration
|
Chris@451
|
57 QMAKE_INFO_PLIST = deploy/osx/Info.plist
|
Chris@451
|
58
|