Chris@42: TEMPLATE = app Chris@4: Chris@42: include(config.pri) Chris@4: Chris@42: CONFIG += qt thread warn_on stl rtti exceptions console Chris@42: QT += xml network Chris@42: QT -= gui Chris@4: Chris@42: # Using the "console" CONFIG flag above should ensure this happens for Chris@42: # normal Windows builds, but the console feature doesn't get picked up Chris@42: # in my local cross-compile setup because qmake itself doesn't know to Chris@42: # look for win32 features Chris@42: win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console Chris@4: Chris@42: # If you have compiled your Vamp plugin SDK with FFTW (using its Chris@42: # HAVE_FFTW3 flag), you can define the same flag here to ensure the Chris@42: # program saves and restores FFTW wisdom in its configuration properly Chris@42: # Chris@42: #DEFINES += HAVE_FFTW3 Chris@42: Chris@42: TARGET = sonic-annotator Chris@42: Chris@67: DEPENDPATH += . svcore Chris@67: INCLUDEPATH += . svcore Chris@42: Chris@67: QMAKE_LIBDIR = svcore $$QMAKE_LIBDIR Chris@42: Chris@42: QMAKE_CXXFLAGS_RELEASE += -fmessage-length=80 -fdiagnostics-show-location=every-line Chris@42: Chris@42: OBJECTS_DIR = o Chris@42: MOC_DIR = o Chris@42: Chris@42: contains(DEFINES, BUILD_STATIC):LIBS -= -ljack Chris@42: Chris@42: LIBS = -lsvcore $$LIBS Chris@42: Chris@67: PRE_TARGETDEPS += svcore/libsvcore.a Chris@42: Chris@42: HEADERS += \ Chris@42: runner/AudioDBFeatureWriter.h \ Chris@42: runner/FeatureWriterFactory.h \ Chris@42: runner/DefaultFeatureWriter.h \ Chris@42: runner/FeatureExtractionManager.h Chris@42: Chris@42: SOURCES += \ Chris@42: runner/main.cpp \ Chris@42: runner/DefaultFeatureWriter.cpp \ Chris@42: runner/FeatureExtractionManager.cpp \ Chris@42: runner/AudioDBFeatureWriter.cpp \ Chris@42: runner/FeatureWriterFactory.cpp Chris@42: