comparison runner.pro @ 288:fd4a6183482f kapoor_1202

Merge from branch piper-nopiper. The next release will be based on this.
author Chris Cannam
date Fri, 02 Dec 2016 10:04:44 +0000
parents 382f33b7f00e
children
comparison
equal deleted inserted replaced
259:9e7d180be225 288:fd4a6183482f
1
1 TEMPLATE = app 2 TEMPLATE = app
2
3 INCLUDEPATH += vamp-plugin-sdk
4
5 win32-g++ {
6 INCLUDEPATH += sv-dependency-builds/win32-mingw/include
7 LIBS += -Lsv-dependency-builds/win32-mingw/lib
8 }
9 win32-msvc* {
10 INCLUDEPATH += sv-dependency-builds/win32-msvc/include
11 LIBS += -Lsv-dependency-builds/win32-msvc/lib
12 }
13 mac* {
14 INCLUDEPATH += sv-dependency-builds/osx/include
15 LIBS += -Lsv-dependency-builds/osx/lib
16 }
17 3
18 exists(config.pri) { 4 exists(config.pri) {
19 include(config.pri) 5 include(config.pri)
20 } 6 }
21 7
22 !exists(config.pri) { 8 !exists(config.pri) {
23 9 include(noconfig.pri)
24 CONFIG += release
25 DEFINES += NDEBUG BUILD_RELEASE NO_TIMING
26
27 DEFINES += HAVE_BZ2 HAVE_FFTW3 HAVE_FFTW3F HAVE_SNDFILE HAVE_SAMPLERATE HAVE_DATAQUAY HAVE_MAD HAVE_ID3TAG
28
29 LIBS += -lbz2 -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lsamplerate -lz -lsord-0 -lserd-0
30
31 win* {
32 DEFINES += _USE_MATH_DEFINES
33 LIBS += -lwinmm -lws2_32
34 }
35 macx* {
36 DEFINES += HAVE_COREAUDIO
37 LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate
38 }
39 linux* {
40 LIBS += -ldl
41 }
42 } 10 }
43 11
44 CONFIG += qt thread warn_on stl rtti exceptions console c++11 12 include(base.pri)
13
14 CONFIG += console
45 QT += xml network 15 QT += xml network
46 QT -= gui widgets 16 QT -= gui
47 17
48 # Using the "console" CONFIG flag above should ensure this happens for
49 # normal Windows builds, but the console feature doesn't get picked up
50 # in my local cross-compile setup because qmake itself doesn't know to
51 # look for win32 features
52 win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console 18 win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console
53 19 macx*: CONFIG -= app_bundle
54 DEFINES += HAVE_FFTW3 HAVE_VAMP HAVE_VAMPHOSTSDK
55 20
56 TARGET = sonic-annotator 21 TARGET = sonic-annotator
57
58 DEPENDPATH += . svcore runner
59 INCLUDEPATH += . dataquay svcore runner
60
61 QMAKE_LIBDIR = svcore $$QMAKE_LIBDIR
62
63 QMAKE_CXXFLAGS_RELEASE += -fmessage-length=80 -fdiagnostics-show-location=every-line
64 22
65 OBJECTS_DIR = o 23 OBJECTS_DIR = o
66 MOC_DIR = o 24 MOC_DIR = o
67 25
68 contains(DEFINES, BUILD_STATIC):LIBS -= -ljack
69
70 MY_LIBS = -Lsvcore -Ldataquay -lsvcore -ldataquay
71
72 linux* {
73 MY_LIBS = -Wl,-Bstatic $$MY_LIBS -Wl,-Bdynamic
74 }
75
76 win* {
77 MY_LIBS = -Lsvcore/release -Ldataquay/release $$MY_LIBS
78 }
79
80 LIBS = $$MY_LIBS $$LIBS
81
82 win* {
83 PRE_TARGETDEPS += svcore/release/libsvcore.a
84 }
85
86 !win* {
87 PRE_TARGETDEPS += svcore/libsvcore.a
88 }
89
90 HEADERS += \ 26 HEADERS += \
91 vamp-plugin-sdk/vamp-hostsdk/PluginBase.h \
92 vamp-plugin-sdk/vamp-hostsdk/PluginBufferingAdapter.h \
93 vamp-plugin-sdk/vamp-hostsdk/PluginChannelAdapter.h \
94 vamp-plugin-sdk/vamp-hostsdk/Plugin.h \
95 vamp-plugin-sdk/vamp-hostsdk/PluginHostAdapter.h \
96 vamp-plugin-sdk/vamp-hostsdk/PluginInputDomainAdapter.h \
97 vamp-plugin-sdk/vamp-hostsdk/PluginLoader.h \
98 vamp-plugin-sdk/vamp-hostsdk/PluginSummarisingAdapter.h \
99 vamp-plugin-sdk/vamp-hostsdk/PluginWrapper.h \
100 vamp-plugin-sdk/vamp-hostsdk/RealTime.h \
101 vamp-plugin-sdk/src/vamp-hostsdk/Window.h \
102 runner/AudioDBFeatureWriter.h \ 27 runner/AudioDBFeatureWriter.h \
103 runner/FeatureWriterFactory.h \ 28 runner/FeatureWriterFactory.h \
104 runner/DefaultFeatureWriter.h \ 29 runner/DefaultFeatureWriter.h \
105 runner/FeatureExtractionManager.h \ 30 runner/FeatureExtractionManager.h \
106 runner/JAMSFeatureWriter.h \ 31 runner/JAMSFeatureWriter.h \
107 runner/LabFeatureWriter.h \ 32 runner/LabFeatureWriter.h \
108 runner/MIDIFeatureWriter.h \ 33 runner/MIDIFeatureWriter.h \
109 runner/MultiplexedReader.h 34 runner/MultiplexedReader.h
110 35
111 SOURCES += \ 36 SOURCES += \
112 vamp-plugin-sdk/src/vamp-hostsdk/PluginBufferingAdapter.cpp \
113 vamp-plugin-sdk/src/vamp-hostsdk/PluginChannelAdapter.cpp \
114 vamp-plugin-sdk/src/vamp-hostsdk/PluginHostAdapter.cpp \
115 vamp-plugin-sdk/src/vamp-hostsdk/PluginInputDomainAdapter.cpp \
116 vamp-plugin-sdk/src/vamp-hostsdk/PluginLoader.cpp \
117 vamp-plugin-sdk/src/vamp-hostsdk/PluginSummarisingAdapter.cpp \
118 vamp-plugin-sdk/src/vamp-hostsdk/PluginWrapper.cpp \
119 vamp-plugin-sdk/src/vamp-hostsdk/RealTime.cpp \
120 vamp-plugin-sdk/src/vamp-hostsdk/Files.cpp \
121 runner/main.cpp \ 37 runner/main.cpp \
122 runner/DefaultFeatureWriter.cpp \ 38 runner/DefaultFeatureWriter.cpp \
123 runner/FeatureExtractionManager.cpp \ 39 runner/FeatureExtractionManager.cpp \
124 runner/AudioDBFeatureWriter.cpp \ 40 runner/AudioDBFeatureWriter.cpp \
125 runner/FeatureWriterFactory.cpp \ 41 runner/FeatureWriterFactory.cpp \