annotate sv.pro @ 1147:29c6a7cb114e pluginscan

Update checker code layout
author Chris Cannam
date Thu, 14 Apr 2016 16:53:03 +0100
parents a1ce253dc90e
children 5e6e1e074080 2e83525cf638
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@743 30 LIBS += -lbz2 -lrubberband -lvamp-hostsdk -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@743 33 LIBS += -lwinmm -lws2_32
Chris@742 34 }
Chris@742 35 macx* {
Chris@742 36 DEFINES += HAVE_COREAUDIO
Chris@742 37 LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate
Chris@639 38 }
Chris@639 39 }
Chris@451 40
Chris@929 41 CONFIG += qt thread warn_on stl rtti exceptions c++11
Chris@951 42 QT += network xml gui widgets svg
Chris@451 43
Chris@451 44 TARGET = "Sonic Visualiser"
Chris@451 45 linux*:TARGET = sonic-visualiser
Chris@451 46 solaris*:TARGET = sonic-visualiser
Chris@451 47
Chris@1035 48 DEPENDPATH += . bqaudioio svcore svgui svapp
Chris@1035 49 INCLUDEPATH += . bqaudioio svcore svgui svapp
Chris@451 50
Chris@451 51 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 52
Chris@451 53 OBJECTS_DIR = o
Chris@451 54 MOC_DIR = o
Chris@451 55
Chris@451 56 ICON = icons/sv-macicon.icns
Chris@451 57 RC_FILE = icons/sv.rc
Chris@451 58
Chris@451 59 contains(DEFINES, BUILD_STATIC):LIBS -= -ljack
Chris@451 60
Chris@1147 61 MY_LIBS = -Lsvapp -Lsvgui -Lsvcore -Lchecker -Ldataquay -L. \
Chris@1144 62 -lsvapp -lsvgui -lsvcore -lchecker -ldataquay -lbq
Chris@528 63
Chris@528 64 linux* {
Chris@528 65 MY_LIBS = -Wl,-Bstatic $$MY_LIBS -Wl,-Bdynamic
Chris@528 66 }
Chris@528 67
Chris@639 68 win* {
Chris@1147 69 MY_LIBS = -Lsvapp/release -Lsvgui/release -Lsvcore/release -Lchecker/release -Ldataquay/release $$MY_LIBS
Chris@639 70 }
Chris@639 71
Chris@528 72 LIBS = $$MY_LIBS $$LIBS
Chris@451 73
Chris@503 74 win* {
Chris@689 75 PRE_TARGETDEPS += svapp/release/libsvapp.a \
Chris@689 76 svgui/release/libsvgui.a \
Chris@689 77 svcore/release/libsvcore.a \
Chris@1144 78 dataquay/release/libdataquay.a \
Chris@1147 79 checker/release/libchecker.a
Chris@503 80 }
Chris@503 81 !win* {
Chris@668 82 PRE_TARGETDEPS += svapp/libsvapp.a \
Chris@668 83 svgui/libsvgui.a \
Chris@668 84 svcore/libsvcore.a \
Chris@1144 85 dataquay/libdataquay.a \
Chris@1147 86 checker/libchecker.a
Chris@503 87 }
Chris@451 88
Chris@451 89 RESOURCES += sonic-visualiser.qrc
Chris@451 90
Chris@1142 91 HEADERS += \
Chris@1142 92 vamp-plugin-sdk/vamp-hostsdk/PluginBase.h \
Chris@1142 93 vamp-plugin-sdk/vamp-hostsdk/PluginBufferingAdapter.h \
Chris@1142 94 vamp-plugin-sdk/vamp-hostsdk/PluginChannelAdapter.h \
Chris@1142 95 vamp-plugin-sdk/vamp-hostsdk/Plugin.h \
Chris@1142 96 vamp-plugin-sdk/vamp-hostsdk/PluginHostAdapter.h \
Chris@1142 97 vamp-plugin-sdk/vamp-hostsdk/PluginInputDomainAdapter.h \
Chris@1142 98 vamp-plugin-sdk/vamp-hostsdk/PluginLoader.h \
Chris@1142 99 vamp-plugin-sdk/vamp-hostsdk/PluginSummarisingAdapter.h \
Chris@1142 100 vamp-plugin-sdk/vamp-hostsdk/PluginWrapper.h \
Chris@1142 101 vamp-plugin-sdk/vamp-hostsdk/RealTime.h \
Chris@1142 102 vamp-plugin-sdk/src/vamp-hostsdk/Window.h \
Chris@1142 103 main/MainWindow.h \
Chris@1142 104 main/NetworkPermissionTester.h \
Chris@1142 105 main/Surveyer.h \
Chris@1142 106 main/SVSplash.h \
Chris@1142 107 main/PreferencesDialog.h
Chris@1142 108 SOURCES += \
Chris@1142 109 vamp-plugin-sdk/src/vamp-hostsdk/PluginBufferingAdapter.cpp \
Chris@1142 110 vamp-plugin-sdk/src/vamp-hostsdk/PluginChannelAdapter.cpp \
Chris@1142 111 vamp-plugin-sdk/src/vamp-hostsdk/PluginHostAdapter.cpp \
Chris@1142 112 vamp-plugin-sdk/src/vamp-hostsdk/PluginInputDomainAdapter.cpp \
Chris@1142 113 vamp-plugin-sdk/src/vamp-hostsdk/PluginLoader.cpp \
Chris@1142 114 vamp-plugin-sdk/src/vamp-hostsdk/PluginSummarisingAdapter.cpp \
Chris@1142 115 vamp-plugin-sdk/src/vamp-hostsdk/PluginWrapper.cpp \
Chris@1142 116 vamp-plugin-sdk/src/vamp-hostsdk/RealTime.cpp \
Chris@1142 117 vamp-plugin-sdk/src/vamp-hostsdk/Files.cpp \
Chris@1142 118 main/main.cpp \
Chris@1142 119 main/OSCHandler.cpp \
Chris@1142 120 main/MainWindow.cpp \
Chris@1142 121 main/NetworkPermissionTester.cpp \
Chris@1142 122 main/Surveyer.cpp \
Chris@1142 123 main/SVSplash.cpp \
Chris@1142 124 main/PreferencesDialog.cpp
Chris@451 125
Chris@451 126 # for mac integration
Chris@451 127 QMAKE_INFO_PLIST = deploy/osx/Info.plist
Chris@451 128