view runner/runner.pro @ 16:0f7c8b9410ef sonic-annotator-0.2

* update tests
author Chris Cannam
date Fri, 20 Mar 2009 17:31:40 +0000
parents b74df6cb24cb
children 4eab258f3505
line wrap: on
line source

TEMPLATE = app

SV_UNIT_PACKAGES = vamp vamp-hostsdk samplerate mad id3tag oggz fishsound sndfile lrdf redland rasqal raptor

#linux-g++:LIBS += -Wl,-Bstatic
#linux-g++:DEFINES += BUILD_STATIC

load(../sv.prf)

CONFIG += sv 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 += . .. i18n main
INCLUDEPATH += . .. main
LIBPATH = ../audioio ../data ../plugin ../rdf ../transform ../base ../system $$LIBPATH

QMAKE_CXXFLAGS_RELEASE += -fmessage-length=80 -fdiagnostics-show-location=every-line

contains(DEFINES, BUILD_STATIC):LIBS -= -ljack

#LIBS = -lsvaudioio -lsvdata -lsvtransform -lsvplugin -lsvrdf -lsvbase -lsvsystem  $$LIBS
LIBS = -lsvdata -lsvtransform -lsvplugin -lsvrdf -lsvdata -lsvbase -lsvsystem  $$LIBS

PRE_TARGETDEPS += ../audioio/libsvaudioio.a \
                  ../data/libsvdata.a \
                  ../transform/libsvtransform.a \
                  ../plugin/libsvplugin.a \
                  ../rdf/libsvrdf.a \
                  ../base/libsvbase.a \
                  ../system/libsvsystem.a

OBJECTS_DIR = tmp_obj
MOC_DIR = tmp_moc

# Input
HEADERS += \
	AudioDBFeatureWriter.h \
        FeatureWriterFactory.h  \
        DefaultFeatureWriter.h \
        FeatureExtractionManager.h

SOURCES += \
	main.cpp \
	DefaultFeatureWriter.cpp \
	FeatureExtractionManager.cpp \
        AudioDBFeatureWriter.cpp \
        FeatureWriterFactory.cpp




# Restore dynamic linkage, in case we went static earlier
linux-g++:LIBS += -Wl,-Bdynamic -lpthread -ldl -lz