annotate sv.pro @ 2514:7bd874f87f0e

Suppress some debug output
author Chris Cannam
date Wed, 22 Apr 2020 17:18:49 +0100
parents 0fdf04a1c6fc
children 1799e90689b5
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 }
Chris@1548 23
Chris@1509 24 linux* {
Chris@1950 25
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@2416 28 sv_bins.CONFIG = no_check_exist executable
Chris@1950 29
Chris@1950 30 sv_desktop.path = $$PREFIX_PATH/share/applications/
Chris@1950 31 sv_desktop.files = sonic-visualiser.desktop
Chris@1950 32 sv_desktop.CONFIG = no_check_exist
Chris@1950 33
Chris@1950 34 sv_icon.path = $$PREFIX_PATH/share/icons/hicolor/scalable/apps/
Chris@1950 35 sv_icon.files = icons/sonic-visualiser.svg
Chris@1950 36 sv_icon.CONFIG = no_check_exist
Chris@1950 37
Chris@1950 38 INSTALLS += sv_bins sv_desktop sv_icon
Chris@1509 39 }
Chris@1509 40
Chris@1279 41 TRANSLATIONS += \
Chris@1279 42 i18n/sonic-visualiser_ru.ts \
Chris@1279 43 i18n/sonic-visualiser_en_GB.ts \
Chris@1279 44 i18n/sonic-visualiser_en_US.ts \
Chris@1279 45 i18n/sonic-visualiser_cs_CZ.ts
Chris@451 46
Chris@451 47 OBJECTS_DIR = o
Chris@451 48 MOC_DIR = o
Chris@451 49
Chris@451 50 ICON = icons/sv-macicon.icns
Chris@451 51 RC_FILE = icons/sv.rc
Chris@451 52
Chris@1279 53 RESOURCES += sonic-visualiser.qrc
Chris@451 54
Chris@1279 55 # Mac integration
Chris@1279 56 QMAKE_INFO_PLIST = deploy/osx/Info.plist
Chris@528 57
Chris@1279 58 include(svgui/files.pri)
Chris@1279 59 include(svapp/files.pri)
Chris@1279 60
Chris@1279 61 for (file, SVGUI_SOURCES) { SOURCES += $$sprintf("svgui/%1", $$file) }
Chris@1279 62 for (file, SVAPP_SOURCES) { SOURCES += $$sprintf("svapp/%1", $$file) }
Chris@1279 63
Chris@1279 64 for (file, SVGUI_HEADERS) { HEADERS += $$sprintf("svgui/%1", $$file) }
Chris@1279 65 for (file, SVAPP_HEADERS) { HEADERS += $$sprintf("svapp/%1", $$file) }
Chris@451 66
Chris@1142 67 HEADERS += \
Chris@1142 68 main/MainWindow.h \
Chris@1142 69 main/NetworkPermissionTester.h \
Chris@1142 70 main/Surveyer.h \
Chris@1142 71 main/SVSplash.h \
Chris@1142 72 main/PreferencesDialog.h
Chris@1279 73
Chris@1142 74 SOURCES += \
Chris@1142 75 main/main.cpp \
Chris@1142 76 main/OSCHandler.cpp \
Chris@1142 77 main/MainWindow.cpp \
Chris@1142 78 main/NetworkPermissionTester.cpp \
Chris@1142 79 main/Surveyer.cpp \
Chris@1142 80 main/SVSplash.cpp \
Chris@1142 81 main/PreferencesDialog.cpp
Chris@451 82
Chris@2377 83 macx* {
Chris@2377 84 QMAKE_POST_LINK += cp checker/vamp-plugin-load-checker . && deploy/osx/deploy.sh $$shell_quote(Sonic Visualiser)
Chris@2377 85 }
Chris@2377 86
Chris@2377 87 linux {
Chris@2377 88 QMAKE_POST_LINK += cp checker/vamp-plugin-load-checker .
Chris@2377 89 }