annotate sv.pro @ 2015:fcd880d678e1 zoom

Add custom waveform oversampler method
author Chris Cannam
date Wed, 26 Sep 2018 11:54:46 +0100
parents debd173b6905
children 995a4014a5c8
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@1950 26
Chris@1753 27 sv_bins.path = $$PREFIX_PATH/bin/
Chris@1919 28 sv_bins.files = checker/vamp-plugin-load-checker piper-vamp-simple-server sonic-visualiser
Chris@1919 29 sv_bins.CONFIG = no_check_exist
Chris@1950 30
Chris@1950 31 sv_desktop.path = $$PREFIX_PATH/share/applications/
Chris@1950 32 sv_desktop.files = sonic-visualiser.desktop
Chris@1950 33 sv_desktop.CONFIG = no_check_exist
Chris@1950 34
Chris@1950 35 sv_icon.path = $$PREFIX_PATH/share/icons/hicolor/scalable/apps/
Chris@1950 36 sv_icon.files = icons/sonic-visualiser.svg
Chris@1950 37 sv_icon.CONFIG = no_check_exist
Chris@1950 38
Chris@1950 39 INSTALLS += sv_bins sv_desktop sv_icon
Chris@1509 40 }
Chris@1509 41
Chris@1279 42 TRANSLATIONS += \
Chris@1279 43 i18n/sonic-visualiser_ru.ts \
Chris@1279 44 i18n/sonic-visualiser_en_GB.ts \
Chris@1279 45 i18n/sonic-visualiser_en_US.ts \
Chris@1279 46 i18n/sonic-visualiser_cs_CZ.ts
Chris@451 47
Chris@451 48 OBJECTS_DIR = o
Chris@451 49 MOC_DIR = o
Chris@451 50
Chris@451 51 ICON = icons/sv-macicon.icns
Chris@451 52 RC_FILE = icons/sv.rc
Chris@451 53
Chris@1279 54 RESOURCES += sonic-visualiser.qrc
Chris@451 55
Chris@1279 56 # Mac integration
Chris@1279 57 QMAKE_INFO_PLIST = deploy/osx/Info.plist
Chris@528 58
Chris@1279 59 include(svgui/files.pri)
Chris@1279 60 include(svapp/files.pri)
Chris@1279 61
Chris@1279 62 for (file, SVGUI_SOURCES) { SOURCES += $$sprintf("svgui/%1", $$file) }
Chris@1279 63 for (file, SVAPP_SOURCES) { SOURCES += $$sprintf("svapp/%1", $$file) }
Chris@1279 64
Chris@1279 65 for (file, SVGUI_HEADERS) { HEADERS += $$sprintf("svgui/%1", $$file) }
Chris@1279 66 for (file, SVAPP_HEADERS) { HEADERS += $$sprintf("svapp/%1", $$file) }
Chris@451 67
Chris@1142 68 HEADERS += \
Chris@1142 69 main/MainWindow.h \
Chris@1142 70 main/NetworkPermissionTester.h \
Chris@1142 71 main/Surveyer.h \
Chris@1142 72 main/SVSplash.h \
Chris@1142 73 main/PreferencesDialog.h
Chris@1279 74
Chris@1142 75 SOURCES += \
Chris@1142 76 main/main.cpp \
Chris@1142 77 main/OSCHandler.cpp \
Chris@1142 78 main/MainWindow.cpp \
Chris@1142 79 main/NetworkPermissionTester.cpp \
Chris@1142 80 main/Surveyer.cpp \
Chris@1142 81 main/SVSplash.cpp \
Chris@1142 82 main/PreferencesDialog.cpp
Chris@451 83