view vamp-aubio-plugins.pro @ 2:b77ce402e5e5

Collect output plugins & metadata into out/
author Chris Cannam
date Wed, 13 Nov 2019 13:38:45 +0000
parents f7134276bfb8
children d95051da0540
line wrap: on
line source

TEMPLATE = lib

exists(config.pri) {
    include(config.pri)
}

!exists(config.pri) {
    include(noconfig.pri)
}

CONFIG -= qt
CONFIG += plugin no_plugin_name_prefix release warn_on

TARGET = out/vamp-aubio

OBJECTS_DIR = vamp-aubio-plugins/o

INCLUDEPATH += $$PWD/vamp-plugin-sdk $$PWD/aubio $$PWD/aubio/src

QMAKE_CXXFLAGS -= -Werror

DEFINES += HAVE_STDLIB_H HAVE_STDIO_H HAVE_MATH_H HAVE_STRING_H HAVE_ERRNO_H HAVE_LIMITS_H HAVE_STDARG_H

win32-msvc* {
    LIBS += -EXPORT:vampGetPluginDescriptor
}
win32-g++* {
    LIBS += -Wl,--version-script=$$PWD/vamp-aubio-plugins/vamp-plugin.map
}
linux* {
    LIBS += -Wl,--version-script=$$PWD/vamp-aubio-plugins/vamp-plugin.map
}
macx* {
    LIBS += -exported_symbols_list $$PWD/vamp-aubio-plugins/vamp-plugin.list
}
!win* {
    QMAKE_POST_LINK += cp vamp-aubio-plugins/vamp-aubio.* out/
}

SOURCES += \
    aubio/src/cvec.c \
    aubio/src/fmat.c \
    aubio/src/fvec.c \
    aubio/src/lvec.c \
    aubio/src/mathutils.c \
    aubio/src/musicutils.c \
    aubio/src/vecutils.c \
    aubio/src/notes/notes.c \
    aubio/src/onset/onset.c \
    aubio/src/onset/peakpicker.c \
    aubio/src/pitch/pitch.c \
    aubio/src/pitch/pitchfcomb.c \
    aubio/src/pitch/pitchmcomb.c \
    aubio/src/pitch/pitchschmitt.c \
    aubio/src/pitch/pitchspecacf.c \
    aubio/src/pitch/pitchyin.c \
    aubio/src/pitch/pitchyinfast.c \
    aubio/src/pitch/pitchyinfft.c \
    aubio/src/spectral/awhitening.c \
    aubio/src/spectral/dct.c \
    aubio/src/spectral/dct_ooura.c \
    aubio/src/spectral/dct_plain.c \
    aubio/src/spectral/fft.c \
    aubio/src/spectral/filterbank.c \
    aubio/src/spectral/filterbank_mel.c \
    aubio/src/spectral/mfcc.c \
    aubio/src/spectral/ooura_fft8g.c \
    aubio/src/spectral/phasevoc.c \
    aubio/src/spectral/specdesc.c \
    aubio/src/spectral/statistics.c \
    aubio/src/spectral/tss.c \
    aubio/src/tempo/beattracking.c \
    aubio/src/temporal/a_weighting.c \
    aubio/src/temporal/biquad.c \
    aubio/src/temporal/c_weighting.c \
    aubio/src/temporal/filter.c \
    aubio/src/temporal/resampler.c \
    aubio/src/tempo/tempo.c \
    aubio/src/utils/hist.c \
    aubio/src/utils/log.c \
    aubio/src/utils/parameter.c \
    aubio/src/utils/scale.c \
    vamp-aubio-plugins/plugins/MelEnergy.cpp \
    vamp-aubio-plugins/plugins/Mfcc.cpp \
    vamp-aubio-plugins/plugins/Notes.cpp \
    vamp-aubio-plugins/plugins/Onset.cpp \
    vamp-aubio-plugins/plugins/Pitch.cpp \
    vamp-aubio-plugins/plugins/Silence.cpp \
    vamp-aubio-plugins/plugins/SpecDesc.cpp \
    vamp-aubio-plugins/plugins/Tempo.cpp \
    vamp-aubio-plugins/plugins/Types.cpp \
    vamp-aubio-plugins/libmain.cpp \
    vamp-plugin-sdk/src/vamp-sdk/FFT.cpp \
    vamp-plugin-sdk/src/vamp-sdk/PluginAdapter.cpp \
    vamp-plugin-sdk/src/vamp-sdk/RealTime.cpp

HEADERS += \
    azi/Azi.h