Mercurial > hg > sonic-annotator
diff 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 |
line wrap: on
line diff
--- a/sonic-annotator.pro Fri Jul 23 11:59:54 2010 +0000 +++ b/sonic-annotator.pro Mon Oct 18 14:10:00 2010 +0100 @@ -1,6 +1,51 @@ +TEMPLATE = app -TEMPLATE = subdirs +include(config.pri) -SUBDIRS = base data plugin rdf system transform runner +CONFIG += qt thread warn_on stl rtti exceptions console +QT += xml network +QT -= gui +# Using the "console" CONFIG flag above should ensure this happens for +# normal Windows builds, but the console feature doesn't get picked up +# in my local cross-compile setup because qmake itself doesn't know to +# look for win32 features +win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console +# If you have compiled your Vamp plugin SDK with FFTW (using its +# HAVE_FFTW3 flag), you can define the same flag here to ensure the +# program saves and restores FFTW wisdom in its configuration properly +# +#DEFINES += HAVE_FFTW3 + +TARGET = sonic-annotator + +DEPENDPATH += . ../svcore +INCLUDEPATH += . ../svcore + +LIBPATH = ../svcore $$LIBPATH + +QMAKE_CXXFLAGS_RELEASE += -fmessage-length=80 -fdiagnostics-show-location=every-line + +OBJECTS_DIR = o +MOC_DIR = o + +contains(DEFINES, BUILD_STATIC):LIBS -= -ljack + +LIBS = -lsvcore $$LIBS + +PRE_TARGETDEPS += ../svcore/libsvcore.a + +HEADERS += \ + runner/AudioDBFeatureWriter.h \ + runner/FeatureWriterFactory.h \ + runner/DefaultFeatureWriter.h \ + runner/FeatureExtractionManager.h + +SOURCES += \ + runner/main.cpp \ + runner/DefaultFeatureWriter.cpp \ + runner/FeatureExtractionManager.cpp \ + runner/AudioDBFeatureWriter.cpp \ + runner/FeatureWriterFactory.cpp +