annotate sv.pro @ 1661:fad5960ac61a sv_v3.0.1

Formatting
author Chris Cannam
date Tue, 07 Mar 2017 13:53:14 +0000
parents 6c464be76d6a
children 3587df7758e7
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@1548 21 QMAKE_POST_LINK += cp checker/vamp-plugin-load-checker .
Chris@1548 22 }
Chris@1548 23
Chris@1509 24 linux* {
Chris@1509 25 sv_bins.path = /usr/local/bin/
Chris@1548 26 sv_bins.files = sonic-visualiser piper-vamp-simple-server vamp-plugin-load-checker
Chris@1509 27 INSTALLS += sv_bins
Chris@1509 28 }
Chris@1509 29
Chris@1279 30 TRANSLATIONS += \
Chris@1279 31 i18n/sonic-visualiser_ru.ts \
Chris@1279 32 i18n/sonic-visualiser_en_GB.ts \
Chris@1279 33 i18n/sonic-visualiser_en_US.ts \
Chris@1279 34 i18n/sonic-visualiser_cs_CZ.ts
Chris@451 35
Chris@451 36 OBJECTS_DIR = o
Chris@451 37 MOC_DIR = o
Chris@451 38
Chris@451 39 ICON = icons/sv-macicon.icns
Chris@451 40 RC_FILE = icons/sv.rc
Chris@451 41
Chris@1279 42 RESOURCES += sonic-visualiser.qrc
Chris@451 43
Chris@1279 44 # Mac integration
Chris@1279 45 QMAKE_INFO_PLIST = deploy/osx/Info.plist
Chris@528 46
Chris@1279 47 include(svgui/files.pri)
Chris@1279 48 include(svapp/files.pri)
Chris@1279 49
Chris@1279 50 for (file, SVGUI_SOURCES) { SOURCES += $$sprintf("svgui/%1", $$file) }
Chris@1279 51 for (file, SVAPP_SOURCES) { SOURCES += $$sprintf("svapp/%1", $$file) }
Chris@1279 52
Chris@1279 53 for (file, SVGUI_HEADERS) { HEADERS += $$sprintf("svgui/%1", $$file) }
Chris@1279 54 for (file, SVAPP_HEADERS) { HEADERS += $$sprintf("svapp/%1", $$file) }
Chris@451 55
Chris@1142 56 HEADERS += \
Chris@1142 57 main/MainWindow.h \
Chris@1142 58 main/NetworkPermissionTester.h \
Chris@1142 59 main/Surveyer.h \
Chris@1142 60 main/SVSplash.h \
Chris@1142 61 main/PreferencesDialog.h
Chris@1279 62
Chris@1142 63 SOURCES += \
Chris@1142 64 main/main.cpp \
Chris@1142 65 main/OSCHandler.cpp \
Chris@1142 66 main/MainWindow.cpp \
Chris@1142 67 main/NetworkPermissionTester.cpp \
Chris@1142 68 main/Surveyer.cpp \
Chris@1142 69 main/SVSplash.cpp \
Chris@1142 70 main/PreferencesDialog.cpp
Chris@451 71