Chris@451: Chris@451: TEMPLATE = app Chris@451: Chris@639: exists(config.pri) { Chris@639: include(config.pri) Chris@639: } Chris@639: Chris@742: !exists(config.pri) { Chris@1279: include(noconfig.pri) Chris@639: } Chris@451: Chris@929: CONFIG += qt thread warn_on stl rtti exceptions c++11 Chris@951: QT += network xml gui widgets svg Chris@451: Chris@451: TARGET = "Sonic Visualiser" Chris@451: linux*:TARGET = sonic-visualiser Chris@451: solaris*:TARGET = sonic-visualiser Chris@451: Chris@1279: TRANSLATIONS += \ Chris@1279: i18n/sonic-visualiser_ru.ts \ Chris@1279: i18n/sonic-visualiser_en_GB.ts \ Chris@1279: i18n/sonic-visualiser_en_US.ts \ Chris@1279: i18n/sonic-visualiser_cs_CZ.ts Chris@451: Chris@1279: # Platform defines for RtMidi Chris@1279: linux*: DEFINES += __LINUX_ALSASEQ__ Chris@1279: macx*: DEFINES += __MACOSX_CORE__ Chris@1279: win*: DEFINES += __WINDOWS_MM__ Chris@1279: solaris*: DEFINES += __RTMIDI_DUMMY_ONLY__ Chris@1279: Chris@1279: # Defines for Dataquay Chris@1279: DEFINES += USE_SORD Chris@451: Chris@451: OBJECTS_DIR = o Chris@451: MOC_DIR = o Chris@451: Chris@451: ICON = icons/sv-macicon.icns Chris@451: RC_FILE = icons/sv.rc Chris@451: Chris@1279: RESOURCES += sonic-visualiser.qrc Chris@451: Chris@1279: # Mac integration Chris@1279: QMAKE_INFO_PLIST = deploy/osx/Info.plist Chris@528: Chris@1279: SV_INCLUDEPATH = \ Chris@1279: . \ Chris@1279: bqvec \ Chris@1279: bqvec/bqvec \ Chris@1279: bqresample \ Chris@1279: bqaudioio \ Chris@1279: bqaudioio/bqaudioio \ Chris@1279: piper-cpp \ Chris@1279: checker \ Chris@1279: checker/checker \ Chris@1279: dataquay \ Chris@1279: dataquay/dataquay \ Chris@1279: svcore \ Chris@1279: svcore/data \ Chris@1279: svcore/plugin/api/alsa \ Chris@1279: svgui \ Chris@1279: svapp \ Chris@1279: vamp-plugin-sdk Chris@1279: Chris@1279: DEPENDPATH += $$SV_INCLUDEPATH Chris@1279: INCLUDEPATH += $$SV_INCLUDEPATH Chris@1279: Chris@1279: include(bq-files.pri) Chris@1279: include(vamp-plugin-sdk-files.pri) Chris@1279: include(svcore/files.pri) Chris@1279: include(svgui/files.pri) Chris@1279: include(svapp/files.pri) Chris@1279: Chris@1279: DATAQUAY_SOURCES=$$fromfile(dataquay/lib.pro, SOURCES) Chris@1279: DATAQUAY_HEADERS=$$fromfile(dataquay/lib.pro, HEADERS) Chris@1279: Chris@1279: CHECKER_SOURCES=$$fromfile(checker/checker.pri, SOURCES) Chris@1279: CHECKER_HEADERS=$$fromfile(checker/checker.pri, HEADERS) Chris@1279: Chris@1279: CLIENT_HEADERS=$$fromfile(piper-cpp/vamp-client/client.pro, HEADERS) Chris@1279: Chris@1279: for (file, BQ_SOURCES) { SOURCES += $$file } Chris@1279: for (file, BQ_HEADERS) { HEADERS += $$file } Chris@1279: Chris@1279: for (file, VAMP_SOURCES) { SOURCES += $$file } Chris@1279: for (file, VAMP_HEADERS) { HEADERS += $$file } Chris@1279: Chris@1279: for (file, SVCORE_SOURCES) { SOURCES += $$sprintf("svcore/%1", $$file) } Chris@1279: for (file, SVGUI_SOURCES) { SOURCES += $$sprintf("svgui/%1", $$file) } Chris@1279: for (file, SVAPP_SOURCES) { SOURCES += $$sprintf("svapp/%1", $$file) } Chris@1279: for (file, DATAQUAY_SOURCES) { SOURCES += $$sprintf("dataquay/%1", $$file) } Chris@1279: for (file, CHECKER_SOURCES) { SOURCES += $$sprintf("checker/%1", $$file) } Chris@1279: Chris@1279: for (file, SVCORE_HEADERS) { HEADERS += $$sprintf("svcore/%1", $$file) } Chris@1279: for (file, SVGUI_HEADERS) { HEADERS += $$sprintf("svgui/%1", $$file) } Chris@1279: for (file, SVAPP_HEADERS) { HEADERS += $$sprintf("svapp/%1", $$file) } Chris@1279: for (file, DATAQUAY_HEADERS) { HEADERS += $$sprintf("dataquay/%1", $$file) } Chris@1279: for (file, CHECKER_HEADERS) { HEADERS += $$sprintf("checker/%1", $$file) } Chris@1279: Chris@1279: for (file, CLIENT_HEADERS) { Chris@1279: HEADERS += $$sprintf("piper-cpp/vamp-client/%1", $$file) Chris@528: } Chris@528: Chris@1279: SOURCES += piper-cpp/vamp-capnp/piper-capnp.cpp Chris@451: Chris@1142: HEADERS += \ Chris@1142: main/MainWindow.h \ Chris@1142: main/NetworkPermissionTester.h \ Chris@1142: main/Surveyer.h \ Chris@1142: main/SVSplash.h \ Chris@1142: main/PreferencesDialog.h Chris@1279: Chris@1142: SOURCES += \ Chris@1142: main/main.cpp \ Chris@1142: main/OSCHandler.cpp \ Chris@1142: main/MainWindow.cpp \ Chris@1142: main/NetworkPermissionTester.cpp \ Chris@1142: main/Surveyer.cpp \ Chris@1142: main/SVSplash.cpp \ Chris@1142: main/PreferencesDialog.cpp Chris@451: