Mercurial > hg > vamp-plugin-pack
diff constant-q-cpp.pro @ 116:2405126aa5fe
Of course, the use of dll to build a plugin only works on Windows (where it's necessary because we have static_runtime defined), not on other platforms (where we have a lib- prefix on non-plugin libraries, and we don't have static runtime anyway). Fix and simplify with an additional qmake include file
author | Chris Cannam |
---|---|
date | Fri, 06 Mar 2020 13:32:45 +0000 |
parents | 732a4bf233df |
children |
line wrap: on
line diff
--- a/constant-q-cpp.pro Fri Mar 06 12:53:57 2020 +0000 +++ b/constant-q-cpp.pro Fri Mar 06 13:32:45 2020 +0000 @@ -1,40 +1,16 @@ TEMPLATE = lib -exists(config.pri) { - include(config.pri) -} - -!exists(config.pri) { - include(noconfig.pri) -} - -CONFIG -= qt -CONFIG += dll no_plugin_name_prefix release warn_on +include(plugin.pri) TARGET = out/cqvamp OBJECTS_DIR = constant-q-cpp/o -INCLUDEPATH += $$PWD/vamp-plugin-sdk $$PWD/constant-q-cpp $$PWD/constant-q-cpp/cq $$PWD/constant-q-cpp/src $$PWD/constant-q-cpp/src/ext/kissfft $$PWD/constant-q-cpp/src/ext/kissfft/tools +INCLUDEPATH += $$PWD/constant-q-cpp $$PWD/constant-q-cpp/cq $$PWD/constant-q-cpp/src $$PWD/constant-q-cpp/src/ext/kissfft $$PWD/constant-q-cpp/src/ext/kissfft/tools DEFINES += kiss_fft_scalar=double -win32-msvc* { - LIBS += -EXPORT:vampGetPluginDescriptor -} -win32-g++* { - LIBS += -Wl,--version-script=$$PWD/constant-q-cpp/vamp/vamp-plugin.map -} -linux* { - LIBS += -Wl,--version-script=$$PWD/constant-q-cpp/vamp/vamp-plugin.map -} -macx* { - LIBS += -exported_symbols_list $$PWD/constant-q-cpp/vamp/vamp-plugin.list -} - -QMAKE_POST_LINK += $$DEPLOYDIR/mark-for-signing out - !win* { QMAKE_POST_LINK += && \ cp constant-q-cpp/cqvamp.cat out/ && \