Mercurial > hg > sonic-annotator
comparison runner.pro @ 0:581b1b150a4d
* copy to sonic-annotator
author | Chris Cannam |
---|---|
date | Thu, 11 Dec 2008 10:22:33 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:581b1b150a4d |
---|---|
1 | |
2 TEMPLATE = app | |
3 | |
4 SV_UNIT_PACKAGES = vamp vamp-hostsdk samplerate mad id3tag oggz fishsound sndfile lrdf redland rasqal raptor | |
5 | |
6 #linux-g++:LIBS += -Wl,-Bstatic | |
7 #linux-g++:DEFINES += BUILD_STATIC | |
8 | |
9 load(../sonic-visualiser/sv.prf) | |
10 | |
11 LIBPATH += /usr/local/lib | |
12 | |
13 CONFIG += sv qt thread warn_on stl rtti exceptions console | |
14 QT += xml network | |
15 QT -= gui | |
16 | |
17 # Using the "console" CONFIG flag above should ensure this happens for | |
18 # normal Windows builds, but the console feature doesn't get picked up | |
19 # in my local cross-compile setup because qmake itself doesn't know to | |
20 # look for win32 features | |
21 win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console | |
22 | |
23 # If you have compiled your Vamp plugin SDK with FFTW (using its | |
24 # HAVE_FFTW3 flag), you can define the same flag here to ensure the | |
25 # program saves and restores FFTW wisdom in its configuration properly | |
26 # | |
27 #DEFINES += HAVE_FFTW3 | |
28 | |
29 TARGET = sonic-annotator | |
30 | |
31 DEPENDPATH += . ../sonic-visualiser i18n main | |
32 INCLUDEPATH += . ../sonic-visualiser main | |
33 LIBPATH = ../sonic-visualiser/audioio ../sonic-visualiser/data ../sonic-visualiser/plugin ../sonic-visualiser/rdf ../sonic-visualiser/transform ../sonic-visualiser/base ../sonic-visualiser/system $$LIBPATH | |
34 | |
35 QMAKE_CXXFLAGS_RELEASE += -fmessage-length=80 -fdiagnostics-show-location=every-line | |
36 | |
37 contains(DEFINES, BUILD_STATIC):LIBS -= -ljack | |
38 | |
39 #LIBS = -lsvaudioio -lsvdata -lsvtransform -lsvplugin -lsvrdf -lsvbase -lsvsystem $$LIBS | |
40 LIBS = -lsvdata -lsvtransform -lsvplugin -lsvrdf -lsvdata -lsvbase -lsvsystem $$LIBS | |
41 | |
42 PRE_TARGETDEPS += ../sonic-visualiser/audioio/libsvaudioio.a \ | |
43 ../sonic-visualiser/data/libsvdata.a \ | |
44 ../sonic-visualiser/transform/libsvtransform.a \ | |
45 ../sonic-visualiser/plugin/libsvplugin.a \ | |
46 ../sonic-visualiser/rdf/libsvrdf.a \ | |
47 ../sonic-visualiser/base/libsvbase.a \ | |
48 ../sonic-visualiser/system/libsvsystem.a | |
49 | |
50 OBJECTS_DIR = tmp_obj | |
51 MOC_DIR = tmp_moc | |
52 | |
53 # Input | |
54 HEADERS += \ | |
55 AudioDBFeatureWriter.h \ | |
56 FeatureWriterFactory.h \ | |
57 DefaultFeatureWriter.h \ | |
58 FeatureExtractionManager.h | |
59 | |
60 SOURCES += \ | |
61 main.cpp \ | |
62 DefaultFeatureWriter.cpp \ | |
63 FeatureExtractionManager.cpp \ | |
64 AudioDBFeatureWriter.cpp \ | |
65 FeatureWriterFactory.cpp | |
66 | |
67 | |
68 | |
69 | |
70 # Restore dynamic linkage, in case we went static earlier | |
71 linux-g++:LIBS += -Wl,-Bdynamic -lpthread -ldl -lz |