annotate sv.pro @ 1180:f2bbce9c1dad spectrogram-minor-refactor

Move LayerGeometryProvider from view to layer
author Chris Cannam
date Thu, 30 Jun 2016 10:59:11 +0100
parents 327faab4c0e0
children 72daacb203a6 65b8c009a9f2
rev   line source
Chris@451 1
Chris@451 2 TEMPLATE = app
Chris@451 3
Chris@1142 4 INCLUDEPATH += vamp-plugin-sdk
Chris@1142 5
Chris@639 6 win32-g++ {
Chris@639 7 INCLUDEPATH += sv-dependency-builds/win32-mingw/include
Chris@1059 8 LIBS += -Lrelease -Lsv-dependency-builds/win32-mingw/lib
Chris@639 9 }
Chris@639 10 win32-msvc* {
Chris@639 11 INCLUDEPATH += sv-dependency-builds/win32-msvc/include
Chris@1059 12 LIBS += -Lrelease -Lsv-dependency-builds/win32-msvc/lib
Chris@639 13 }
Chris@742 14 mac* {
Chris@742 15 INCLUDEPATH += sv-dependency-builds/osx/include
Chris@742 16 LIBS += -Lsv-dependency-builds/osx/lib
Chris@742 17 }
Chris@639 18
Chris@639 19 exists(config.pri) {
Chris@639 20 include(config.pri)
Chris@639 21 }
Chris@639 22
Chris@742 23 !exists(config.pri) {
Chris@742 24
Chris@742 25 CONFIG += release
Chris@742 26 DEFINES += NDEBUG BUILD_RELEASE NO_TIMING
Chris@742 27
Chris@1035 28 DEFINES += HAVE_BZ2 HAVE_FFTW3 HAVE_FFTW3F HAVE_SNDFILE HAVE_SAMPLERATE HAVE_VAMP HAVE_VAMPHOSTSDK HAVE_RUBBERBAND HAVE_DATAQUAY HAVE_LIBLO HAVE_MAD HAVE_ID3TAG HAVE_PORTAUDIO
Chris@742 29
Chris@1152 30 LIBS += -lbz2 -lrubberband -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lportaudio -lsamplerate -lz -lsord-0 -lserd-0 -llo
Chris@742 31
Chris@742 32 win* {
Chris@1156 33 DEFINES += _USE_MATH_DEFINES
Chris@743 34 LIBS += -lwinmm -lws2_32
Chris@742 35 }
Chris@742 36 macx* {
Chris@742 37 DEFINES += HAVE_COREAUDIO
Chris@742 38 LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate
Chris@639 39 }
Chris@639 40 }
Chris@451 41
Chris@929 42 CONFIG += qt thread warn_on stl rtti exceptions c++11
Chris@951 43 QT += network xml gui widgets svg
Chris@451 44
Chris@451 45 TARGET = "Sonic Visualiser"
Chris@451 46 linux*:TARGET = sonic-visualiser
Chris@451 47 solaris*:TARGET = sonic-visualiser
Chris@451 48
Chris@1035 49 DEPENDPATH += . bqaudioio svcore svgui svapp
Chris@1035 50 INCLUDEPATH += . bqaudioio svcore svgui svapp
Chris@451 51
Chris@451 52 TRANSLATIONS += i18n/sonic-visualiser_ru.ts i18n/sonic-visualiser_en_GB.ts i18n/sonic-visualiser_en_US.ts i18n/sonic-visualiser_cs_CZ.ts
Chris@451 53
Chris@451 54 OBJECTS_DIR = o
Chris@451 55 MOC_DIR = o
Chris@451 56
Chris@451 57 ICON = icons/sv-macicon.icns
Chris@451 58 RC_FILE = icons/sv.rc
Chris@451 59
Chris@451 60 contains(DEFINES, BUILD_STATIC):LIBS -= -ljack
Chris@451 61
Chris@1147 62 MY_LIBS = -Lsvapp -Lsvgui -Lsvcore -Lchecker -Ldataquay -L. \
Chris@1144 63 -lsvapp -lsvgui -lsvcore -lchecker -ldataquay -lbq
Chris@528 64
Chris@528 65 linux* {
Chris@528 66 MY_LIBS = -Wl,-Bstatic $$MY_LIBS -Wl,-Bdynamic
Chris@528 67 }
Chris@528 68
Chris@639 69 win* {
Chris@1147 70 MY_LIBS = -Lsvapp/release -Lsvgui/release -Lsvcore/release -Lchecker/release -Ldataquay/release $$MY_LIBS
Chris@639 71 }
Chris@639 72
Chris@528 73 LIBS = $$MY_LIBS $$LIBS
Chris@451 74
Chris@503 75 win* {
Chris@689 76 PRE_TARGETDEPS += svapp/release/libsvapp.a \
Chris@689 77 svgui/release/libsvgui.a \
Chris@689 78 svcore/release/libsvcore.a \
Chris@1144 79 dataquay/release/libdataquay.a \
Chris@1147 80 checker/release/libchecker.a
Chris@503 81 }
Chris@503 82 !win* {
Chris@668 83 PRE_TARGETDEPS += svapp/libsvapp.a \
Chris@668 84 svgui/libsvgui.a \
Chris@668 85 svcore/libsvcore.a \
Chris@1144 86 dataquay/libdataquay.a \
Chris@1147 87 checker/libchecker.a
Chris@503 88 }
Chris@451 89
Chris@451 90 RESOURCES += sonic-visualiser.qrc
Chris@451 91
Chris@1142 92 HEADERS += \
Chris@1142 93 vamp-plugin-sdk/vamp-hostsdk/PluginBase.h \
Chris@1142 94 vamp-plugin-sdk/vamp-hostsdk/PluginBufferingAdapter.h \
Chris@1142 95 vamp-plugin-sdk/vamp-hostsdk/PluginChannelAdapter.h \
Chris@1142 96 vamp-plugin-sdk/vamp-hostsdk/Plugin.h \
Chris@1142 97 vamp-plugin-sdk/vamp-hostsdk/PluginHostAdapter.h \
Chris@1142 98 vamp-plugin-sdk/vamp-hostsdk/PluginInputDomainAdapter.h \
Chris@1142 99 vamp-plugin-sdk/vamp-hostsdk/PluginLoader.h \
Chris@1142 100 vamp-plugin-sdk/vamp-hostsdk/PluginSummarisingAdapter.h \
Chris@1142 101 vamp-plugin-sdk/vamp-hostsdk/PluginWrapper.h \
Chris@1142 102 vamp-plugin-sdk/vamp-hostsdk/RealTime.h \
Chris@1142 103 vamp-plugin-sdk/src/vamp-hostsdk/Window.h \
Chris@1142 104 main/MainWindow.h \
Chris@1142 105 main/NetworkPermissionTester.h \
Chris@1142 106 main/Surveyer.h \
Chris@1142 107 main/SVSplash.h \
Chris@1142 108 main/PreferencesDialog.h
Chris@1142 109 SOURCES += \
Chris@1142 110 vamp-plugin-sdk/src/vamp-hostsdk/PluginBufferingAdapter.cpp \
Chris@1142 111 vamp-plugin-sdk/src/vamp-hostsdk/PluginChannelAdapter.cpp \
Chris@1142 112 vamp-plugin-sdk/src/vamp-hostsdk/PluginHostAdapter.cpp \
Chris@1142 113 vamp-plugin-sdk/src/vamp-hostsdk/PluginInputDomainAdapter.cpp \
Chris@1142 114 vamp-plugin-sdk/src/vamp-hostsdk/PluginLoader.cpp \
Chris@1142 115 vamp-plugin-sdk/src/vamp-hostsdk/PluginSummarisingAdapter.cpp \
Chris@1142 116 vamp-plugin-sdk/src/vamp-hostsdk/PluginWrapper.cpp \
Chris@1142 117 vamp-plugin-sdk/src/vamp-hostsdk/RealTime.cpp \
Chris@1142 118 vamp-plugin-sdk/src/vamp-hostsdk/Files.cpp \
Chris@1142 119 main/main.cpp \
Chris@1142 120 main/OSCHandler.cpp \
Chris@1142 121 main/MainWindow.cpp \
Chris@1142 122 main/NetworkPermissionTester.cpp \
Chris@1142 123 main/Surveyer.cpp \
Chris@1142 124 main/SVSplash.cpp \
Chris@1142 125 main/PreferencesDialog.cpp
Chris@451 126
Chris@451 127 # for mac integration
Chris@451 128 QMAKE_INFO_PLIST = deploy/osx/Info.plist
Chris@451 129