annotate sv.pro @ 1923:4ec4c1b9d367

Tidy
author Chris Cannam
date Tue, 03 Jul 2018 14:12:26 +0100
parents 03acc9f89d4f
children debd173b6905
rev   line source
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@1919 27 sv_bins.files = checker/vamp-plugin-load-checker piper-vamp-simple-server sonic-visualiser
Chris@1919 28 sv_bins.CONFIG = no_check_exist
Chris@1509 29 INSTALLS += sv_bins
Chris@1509 30 }
Chris@1509 31
Chris@1279 32 TRANSLATIONS += \
Chris@1279 33 i18n/sonic-visualiser_ru.ts \
Chris@1279 34 i18n/sonic-visualiser_en_GB.ts \
Chris@1279 35 i18n/sonic-visualiser_en_US.ts \
Chris@1279 36 i18n/sonic-visualiser_cs_CZ.ts
Chris@451 37
Chris@451 38 OBJECTS_DIR = o
Chris@451 39 MOC_DIR = o
Chris@451 40
Chris@451 41 ICON = icons/sv-macicon.icns
Chris@451 42 RC_FILE = icons/sv.rc
Chris@451 43
Chris@1279 44 RESOURCES += sonic-visualiser.qrc
Chris@451 45
Chris@1279 46 # Mac integration
Chris@1279 47 QMAKE_INFO_PLIST = deploy/osx/Info.plist
Chris@528 48
Chris@1279 49 include(svgui/files.pri)
Chris@1279 50 include(svapp/files.pri)
Chris@1279 51
Chris@1279 52 for (file, SVGUI_SOURCES) { SOURCES += $$sprintf("svgui/%1", $$file) }
Chris@1279 53 for (file, SVAPP_SOURCES) { SOURCES += $$sprintf("svapp/%1", $$file) }
Chris@1279 54
Chris@1279 55 for (file, SVGUI_HEADERS) { HEADERS += $$sprintf("svgui/%1", $$file) }
Chris@1279 56 for (file, SVAPP_HEADERS) { HEADERS += $$sprintf("svapp/%1", $$file) }
Chris@451 57
Chris@1142 58 HEADERS += \
Chris@1142 59 main/MainWindow.h \
Chris@1142 60 main/NetworkPermissionTester.h \
Chris@1142 61 main/Surveyer.h \
Chris@1142 62 main/SVSplash.h \
Chris@1142 63 main/PreferencesDialog.h
Chris@1279 64
Chris@1142 65 SOURCES += \
Chris@1142 66 main/main.cpp \
Chris@1142 67 main/OSCHandler.cpp \
Chris@1142 68 main/MainWindow.cpp \
Chris@1142 69 main/NetworkPermissionTester.cpp \
Chris@1142 70 main/Surveyer.cpp \
Chris@1142 71 main/SVSplash.cpp \
Chris@1142 72 main/PreferencesDialog.cpp
Chris@451 73