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@1332: include(base.pri) Chris@1332: 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@1548: !win32 { Chris@1831: PRE_TARGETDEPS += $$PWD/libbase.a Chris@1548: } Chris@1548: Chris@1509: linux* { Chris@1950: Chris@1753: sv_bins.path = $$PREFIX_PATH/bin/ Chris@1919: sv_bins.files = checker/vamp-plugin-load-checker piper-vamp-simple-server sonic-visualiser Chris@2416: sv_bins.CONFIG = no_check_exist executable Chris@1950: Chris@1950: sv_desktop.path = $$PREFIX_PATH/share/applications/ Chris@1950: sv_desktop.files = sonic-visualiser.desktop Chris@1950: sv_desktop.CONFIG = no_check_exist Chris@1950: Chris@1950: sv_icon.path = $$PREFIX_PATH/share/icons/hicolor/scalable/apps/ Chris@1950: sv_icon.files = icons/sonic-visualiser.svg Chris@1950: sv_icon.CONFIG = no_check_exist Chris@1950: Chris@1950: INSTALLS += sv_bins sv_desktop sv_icon Chris@1509: } Chris@1509: 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@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: include(svgui/files.pri) Chris@1279: include(svapp/files.pri) Chris@1279: Chris@1279: for (file, SVGUI_SOURCES) { SOURCES += $$sprintf("svgui/%1", $$file) } Chris@1279: for (file, SVAPP_SOURCES) { SOURCES += $$sprintf("svapp/%1", $$file) } Chris@1279: Chris@1279: for (file, SVGUI_HEADERS) { HEADERS += $$sprintf("svgui/%1", $$file) } Chris@1279: for (file, SVAPP_HEADERS) { HEADERS += $$sprintf("svapp/%1", $$file) } 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: Chris@2377: macx* { Chris@2377: QMAKE_POST_LINK += cp checker/vamp-plugin-load-checker . && deploy/osx/deploy.sh $$shell_quote(Sonic Visualiser) Chris@2377: } Chris@2377: Chris@2377: linux { Chris@2377: QMAKE_POST_LINK += cp checker/vamp-plugin-load-checker . Chris@2377: }