view vamp-tempogram.pro @ 111:fe176cd5280c

Various updates to add Azi metadata + ensure it gets installed
author Chris Cannam
date Fri, 06 Mar 2020 10:47:39 +0000
parents f24d8a6f1e49
children 732a4bf233df
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/tempogram

OBJECTS_DIR = vamp-tempogram/o

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

QMAKE_CXXFLAGS -= -Werror

win32-msvc* {
    LIBS += -EXPORT:vampGetPluginDescriptor
}
win32-g++* {
    LIBS += -Wl,--version-script=$$PWD/vamp-tempogram/vamp-plugin.map
}
linux* {
    LIBS += -Wl,--version-script=$$PWD/vamp-tempogram/vamp-plugin.map
}
macx* {
    LIBS += -exported_symbols_list $$PWD/vamp-tempogram/vamp-plugin.list
}

QMAKE_POST_LINK += $$DEPLOYDIR/mark-for-signing out

!win* {
    QMAKE_POST_LINK += && \
        cp vamp-tempogram/tempogram.cat vamp-tempogram/tempogram.n3 out/ && \
        cp vamp-tempogram/README out/tempogram_README.txt && \
        cp vamp-tempogram/CITATION out/tempogram_CITATION.txt && \
        cp vamp-tempogram/COPYING out/tempogram_COPYING.txt
}

SOURCES += \
    vamp-tempogram/TempogramPlugin.cpp \
    vamp-tempogram/FIRFilter.cpp \
    vamp-tempogram/WindowFunction.cpp \
    vamp-tempogram/NoveltyCurveProcessor.cpp \
    vamp-tempogram/SpectrogramProcessor.cpp \
    vamp-tempogram/AutocorrelationProcessor.cpp \
    vamp-tempogram/plugins.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