Mercurial > hg > sonic-annotator
comparison sonic-annotator.pro @ 42:94d988cef54e
* Update to new autoconf build system
author | Chris Cannam |
---|---|
date | Mon, 18 Oct 2010 14:10:00 +0100 |
parents | 8b20521fc40f |
children |
comparison
equal
deleted
inserted
replaced
41:f0346cc8ff21 | 42:94d988cef54e |
---|---|
1 TEMPLATE = app | |
1 | 2 |
2 TEMPLATE = subdirs | 3 include(config.pri) |
3 | 4 |
4 SUBDIRS = base data plugin rdf system transform runner | 5 CONFIG += qt thread warn_on stl rtti exceptions console |
6 QT += xml network | |
7 QT -= gui | |
5 | 8 |
9 # Using the "console" CONFIG flag above should ensure this happens for | |
10 # normal Windows builds, but the console feature doesn't get picked up | |
11 # in my local cross-compile setup because qmake itself doesn't know to | |
12 # look for win32 features | |
13 win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console | |
6 | 14 |
15 # If you have compiled your Vamp plugin SDK with FFTW (using its | |
16 # HAVE_FFTW3 flag), you can define the same flag here to ensure the | |
17 # program saves and restores FFTW wisdom in its configuration properly | |
18 # | |
19 #DEFINES += HAVE_FFTW3 | |
20 | |
21 TARGET = sonic-annotator | |
22 | |
23 DEPENDPATH += . ../svcore | |
24 INCLUDEPATH += . ../svcore | |
25 | |
26 LIBPATH = ../svcore $$LIBPATH | |
27 | |
28 QMAKE_CXXFLAGS_RELEASE += -fmessage-length=80 -fdiagnostics-show-location=every-line | |
29 | |
30 OBJECTS_DIR = o | |
31 MOC_DIR = o | |
32 | |
33 contains(DEFINES, BUILD_STATIC):LIBS -= -ljack | |
34 | |
35 LIBS = -lsvcore $$LIBS | |
36 | |
37 PRE_TARGETDEPS += ../svcore/libsvcore.a | |
38 | |
39 HEADERS += \ | |
40 runner/AudioDBFeatureWriter.h \ | |
41 runner/FeatureWriterFactory.h \ | |
42 runner/DefaultFeatureWriter.h \ | |
43 runner/FeatureExtractionManager.h | |
44 | |
45 SOURCES += \ | |
46 runner/main.cpp \ | |
47 runner/DefaultFeatureWriter.cpp \ | |
48 runner/FeatureExtractionManager.cpp \ | |
49 runner/AudioDBFeatureWriter.cpp \ | |
50 runner/FeatureWriterFactory.cpp | |
51 |