annotate sv.pro @ 1150:5e6e1e074080 3.0-plus-imaf

Merge branches 3.0-integration and imaf_enc to 3.0-plus-imaf
author Chris Cannam
date Wed, 20 Apr 2016 12:06:28 +0100
parents 29c6a7cb114e ddfa8ce5bc2d
children
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@668 13 }
Chris@742 14 mac* {
Chris@742 15 INCLUDEPATH += sv-dependency-builds/osx/include
Chris@742 16 LIBS += -Lsv-dependency-builds/osx/lib
Chris@639 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@1150 65 MY_LIBS = -Wl,-Bstatic $$MY_LIBS -Wl,-Bdynamic -ldl
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@1150 75
Chris@688 76 PRE_TARGETDEPS += svapp/release/libsvapp.a \
Chris@688 77 svgui/release/libsvgui.a \
Chris@688 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@1150 105 main/IMAFencoder.h \
Chris@1150 106 main/checkbox.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@1142 111 SOURCES += \
Chris@1142 112 vamp-plugin-sdk/src/vamp-hostsdk/PluginBufferingAdapter.cpp \
Chris@1142 113 vamp-plugin-sdk/src/vamp-hostsdk/PluginChannelAdapter.cpp \
Chris@1142 114 vamp-plugin-sdk/src/vamp-hostsdk/PluginHostAdapter.cpp \
Chris@1142 115 vamp-plugin-sdk/src/vamp-hostsdk/PluginInputDomainAdapter.cpp \
Chris@1142 116 vamp-plugin-sdk/src/vamp-hostsdk/PluginLoader.cpp \
Chris@1142 117 vamp-plugin-sdk/src/vamp-hostsdk/PluginSummarisingAdapter.cpp \
Chris@1142 118 vamp-plugin-sdk/src/vamp-hostsdk/PluginWrapper.cpp \
Chris@1142 119 vamp-plugin-sdk/src/vamp-hostsdk/RealTime.cpp \
Chris@1142 120 vamp-plugin-sdk/src/vamp-hostsdk/Files.cpp \
Chris@1142 121 main/main.cpp \
Chris@1142 122 main/OSCHandler.cpp \
Chris@1142 123 main/MainWindow.cpp \
Chris@1150 124 main/IMAFencoder.c \
Chris@1150 125 main/imafdecoder.cpp \
Chris@1142 126 main/NetworkPermissionTester.cpp \
Chris@1142 127 main/Surveyer.cpp \
Chris@1142 128 main/SVSplash.cpp \
Chris@1142 129 main/PreferencesDialog.cpp
Chris@451 130
Chris@451 131 # for mac integration
Chris@451 132 QMAKE_INFO_PLIST = deploy/osx/Info.plist
Chris@451 133