annotate runner/runner.pro @ 1:92911f967a16

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