annotate sv.pro @ 1304:6e47bd2263e2 piper

Merge from branch project-file-rework
author Chris Cannam
date Fri, 28 Oct 2016 15:19:12 +0100
parents c6513cae4747
children 587c0e53ea86
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@929 12 CONFIG += qt thread warn_on stl rtti exceptions c++11
Chris@951 13 QT += network xml gui widgets svg
Chris@451 14
Chris@451 15 TARGET = "Sonic Visualiser"
Chris@451 16 linux*:TARGET = sonic-visualiser
Chris@451 17 solaris*:TARGET = sonic-visualiser
Chris@451 18
Chris@1279 19 TRANSLATIONS += \
Chris@1279 20 i18n/sonic-visualiser_ru.ts \
Chris@1279 21 i18n/sonic-visualiser_en_GB.ts \
Chris@1279 22 i18n/sonic-visualiser_en_US.ts \
Chris@1279 23 i18n/sonic-visualiser_cs_CZ.ts
Chris@451 24
Chris@1279 25 # Platform defines for RtMidi
Chris@1279 26 linux*: DEFINES += __LINUX_ALSASEQ__
Chris@1279 27 macx*: DEFINES += __MACOSX_CORE__
Chris@1279 28 win*: DEFINES += __WINDOWS_MM__
Chris@1279 29 solaris*: DEFINES += __RTMIDI_DUMMY_ONLY__
Chris@1279 30
Chris@1279 31 # Defines for Dataquay
Chris@1279 32 DEFINES += USE_SORD
Chris@451 33
Chris@451 34 OBJECTS_DIR = o
Chris@451 35 MOC_DIR = o
Chris@451 36
Chris@451 37 ICON = icons/sv-macicon.icns
Chris@451 38 RC_FILE = icons/sv.rc
Chris@451 39
Chris@1279 40 RESOURCES += sonic-visualiser.qrc
Chris@451 41
Chris@1279 42 # Mac integration
Chris@1279 43 QMAKE_INFO_PLIST = deploy/osx/Info.plist
Chris@528 44
Chris@1279 45 SV_INCLUDEPATH = \
Chris@1279 46 . \
Chris@1279 47 bqvec \
Chris@1279 48 bqvec/bqvec \
Chris@1279 49 bqresample \
Chris@1279 50 bqaudioio \
Chris@1279 51 bqaudioio/bqaudioio \
Chris@1279 52 piper-cpp \
Chris@1279 53 checker \
Chris@1279 54 checker/checker \
Chris@1279 55 dataquay \
Chris@1279 56 dataquay/dataquay \
Chris@1279 57 svcore \
Chris@1279 58 svcore/data \
Chris@1279 59 svcore/plugin/api/alsa \
Chris@1279 60 svgui \
Chris@1279 61 svapp \
Chris@1279 62 vamp-plugin-sdk
Chris@1279 63
Chris@1279 64 DEPENDPATH += $$SV_INCLUDEPATH
Chris@1279 65 INCLUDEPATH += $$SV_INCLUDEPATH
Chris@1279 66
Chris@1279 67 include(bq-files.pri)
Chris@1279 68 include(vamp-plugin-sdk-files.pri)
Chris@1279 69 include(svcore/files.pri)
Chris@1279 70 include(svgui/files.pri)
Chris@1279 71 include(svapp/files.pri)
Chris@1279 72
Chris@1279 73 DATAQUAY_SOURCES=$$fromfile(dataquay/lib.pro, SOURCES)
Chris@1279 74 DATAQUAY_HEADERS=$$fromfile(dataquay/lib.pro, HEADERS)
Chris@1279 75
Chris@1279 76 CHECKER_SOURCES=$$fromfile(checker/checker.pri, SOURCES)
Chris@1279 77 CHECKER_HEADERS=$$fromfile(checker/checker.pri, HEADERS)
Chris@1279 78
Chris@1279 79 CLIENT_HEADERS=$$fromfile(piper-cpp/vamp-client/client.pro, HEADERS)
Chris@1279 80
Chris@1279 81 for (file, BQ_SOURCES) { SOURCES += $$file }
Chris@1279 82 for (file, BQ_HEADERS) { HEADERS += $$file }
Chris@1279 83
Chris@1279 84 for (file, VAMP_SOURCES) { SOURCES += $$file }
Chris@1279 85 for (file, VAMP_HEADERS) { HEADERS += $$file }
Chris@1279 86
Chris@1279 87 for (file, SVCORE_SOURCES) { SOURCES += $$sprintf("svcore/%1", $$file) }
Chris@1279 88 for (file, SVGUI_SOURCES) { SOURCES += $$sprintf("svgui/%1", $$file) }
Chris@1279 89 for (file, SVAPP_SOURCES) { SOURCES += $$sprintf("svapp/%1", $$file) }
Chris@1279 90 for (file, DATAQUAY_SOURCES) { SOURCES += $$sprintf("dataquay/%1", $$file) }
Chris@1279 91 for (file, CHECKER_SOURCES) { SOURCES += $$sprintf("checker/%1", $$file) }
Chris@1279 92
Chris@1279 93 for (file, SVCORE_HEADERS) { HEADERS += $$sprintf("svcore/%1", $$file) }
Chris@1279 94 for (file, SVGUI_HEADERS) { HEADERS += $$sprintf("svgui/%1", $$file) }
Chris@1279 95 for (file, SVAPP_HEADERS) { HEADERS += $$sprintf("svapp/%1", $$file) }
Chris@1279 96 for (file, DATAQUAY_HEADERS) { HEADERS += $$sprintf("dataquay/%1", $$file) }
Chris@1279 97 for (file, CHECKER_HEADERS) { HEADERS += $$sprintf("checker/%1", $$file) }
Chris@1279 98
Chris@1279 99 for (file, CLIENT_HEADERS) {
Chris@1279 100 HEADERS += $$sprintf("piper-cpp/vamp-client/%1", $$file)
Chris@528 101 }
Chris@528 102
Chris@1279 103 SOURCES += piper-cpp/vamp-capnp/piper-capnp.cpp
Chris@451 104
Chris@1142 105 HEADERS += \
Chris@1142 106 main/MainWindow.h \
Chris@1142 107 main/NetworkPermissionTester.h \
Chris@1142 108 main/Surveyer.h \
Chris@1142 109 main/SVSplash.h \
Chris@1142 110 main/PreferencesDialog.h
Chris@1279 111
Chris@1142 112 SOURCES += \
Chris@1142 113 main/main.cpp \
Chris@1142 114 main/OSCHandler.cpp \
Chris@1142 115 main/MainWindow.cpp \
Chris@1142 116 main/NetworkPermissionTester.cpp \
Chris@1142 117 main/Surveyer.cpp \
Chris@1142 118 main/SVSplash.cpp \
Chris@1142 119 main/PreferencesDialog.cpp
Chris@451 120