Mercurial > hg > vamp-plugin-pack
diff tipic.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/tipic.pro Fri Mar 06 12:53:57 2020 +0000 +++ b/tipic.pro Fri Mar 06 13:32:45 2020 +0000 @@ -1,42 +1,19 @@ 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/tipic OBJECTS_DIR = tipic/o -INCLUDEPATH += $$PWD/vamp-plugin-sdk $$PWD/tipic/qm-dsp $$PWD/tipic/qm-dsp/ext/kissfft $$PWD/tipic/qm-dsp/ext/kissfft/tools - -QMAKE_CXXFLAGS -= -Werror +INCLUDEPATH += $$PWD/tipic/qm-dsp $$PWD/tipic/qm-dsp/ext/kissfft $$PWD/tipic/qm-dsp/ext/kissfft/tools DEFINES += kiss_fft_scalar=double win32-msvc* { DEFINES += __restrict__=__restrict - LIBS += -EXPORT:vampGetPluginDescriptor } -win32-g++* { - LIBS += -Wl,--version-script=$$PWD/tipic/vamp-plugin.map -} -linux* { - LIBS += -Wl,--version-script=$$PWD/tipic/vamp-plugin.map -} -macx* { - LIBS += -exported_symbols_list $$PWD/tipic/vamp-plugin.list -} - -QMAKE_POST_LINK += $$DEPLOYDIR/mark-for-signing out !win* { QMAKE_POST_LINK += && \