annotate sv.pro @ 1539:56b268b96fcb

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