Mercurial > hg > sonic-annotator
annotate sonic-annotator.pro @ 59:52b9d58edb78
Ensure expected output (as well as test output) gets canonicalised before comparison. The test in question still fails -- I think now only because of plugin output ordering changes (prior to svcore rev f3fd2988fc9b it also had picked up some incorrect output feature types)
author | Chris Cannam |
---|---|
date | Mon, 09 Jan 2012 16:30:44 +0000 |
parents | 94d988cef54e |
children |
rev | line source |
---|---|
Chris@42 | 1 TEMPLATE = app |
Chris@4 | 2 |
Chris@42 | 3 include(config.pri) |
Chris@4 | 4 |
Chris@42 | 5 CONFIG += qt thread warn_on stl rtti exceptions console |
Chris@42 | 6 QT += xml network |
Chris@42 | 7 QT -= gui |
Chris@4 | 8 |
Chris@42 | 9 # Using the "console" CONFIG flag above should ensure this happens for |
Chris@42 | 10 # normal Windows builds, but the console feature doesn't get picked up |
Chris@42 | 11 # in my local cross-compile setup because qmake itself doesn't know to |
Chris@42 | 12 # look for win32 features |
Chris@42 | 13 win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console |
Chris@4 | 14 |
Chris@42 | 15 # If you have compiled your Vamp plugin SDK with FFTW (using its |
Chris@42 | 16 # HAVE_FFTW3 flag), you can define the same flag here to ensure the |
Chris@42 | 17 # program saves and restores FFTW wisdom in its configuration properly |
Chris@42 | 18 # |
Chris@42 | 19 #DEFINES += HAVE_FFTW3 |
Chris@42 | 20 |
Chris@42 | 21 TARGET = sonic-annotator |
Chris@42 | 22 |
Chris@42 | 23 DEPENDPATH += . ../svcore |
Chris@42 | 24 INCLUDEPATH += . ../svcore |
Chris@42 | 25 |
Chris@42 | 26 LIBPATH = ../svcore $$LIBPATH |
Chris@42 | 27 |
Chris@42 | 28 QMAKE_CXXFLAGS_RELEASE += -fmessage-length=80 -fdiagnostics-show-location=every-line |
Chris@42 | 29 |
Chris@42 | 30 OBJECTS_DIR = o |
Chris@42 | 31 MOC_DIR = o |
Chris@42 | 32 |
Chris@42 | 33 contains(DEFINES, BUILD_STATIC):LIBS -= -ljack |
Chris@42 | 34 |
Chris@42 | 35 LIBS = -lsvcore $$LIBS |
Chris@42 | 36 |
Chris@42 | 37 PRE_TARGETDEPS += ../svcore/libsvcore.a |
Chris@42 | 38 |
Chris@42 | 39 HEADERS += \ |
Chris@42 | 40 runner/AudioDBFeatureWriter.h \ |
Chris@42 | 41 runner/FeatureWriterFactory.h \ |
Chris@42 | 42 runner/DefaultFeatureWriter.h \ |
Chris@42 | 43 runner/FeatureExtractionManager.h |
Chris@42 | 44 |
Chris@42 | 45 SOURCES += \ |
Chris@42 | 46 runner/main.cpp \ |
Chris@42 | 47 runner/DefaultFeatureWriter.cpp \ |
Chris@42 | 48 runner/FeatureExtractionManager.cpp \ |
Chris@42 | 49 runner/AudioDBFeatureWriter.cpp \ |
Chris@42 | 50 runner/FeatureWriterFactory.cpp |
Chris@42 | 51 |