Mercurial > hg > tony
changeset 550:7ef7fa385d8e
Symbol export fixes
author | Chris Cannam |
---|---|
date | Sat, 16 Feb 2019 09:38:47 +0000 |
parents | 36940effcfcf |
children | 4328b9fd40a5 bfa8f9d5c7fe |
files | chp.pro pyin.pro |
diffstat | 2 files changed, 31 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/chp.pro Fri Feb 15 22:01:04 2019 +0000 +++ b/chp.pro Sat Feb 16 09:38:47 2019 +0000 @@ -8,15 +8,26 @@ include(noconfig.pri) } -INCLUDEPATH += vamp-plugin-sdk - -## !!! + vampGetPluginDescriptor export - CONFIG -= qt CONFIG += plugin release warn_on TARGET = chp +INCLUDEPATH += vamp-plugin-sdk + +win32-msvc* { + LIBS += -EXPORT:vampGetPluginDescriptor +} +win32-g++* { + LIBS += -Wl,--version-script=pyin/vamp-plugin.map +} +linux* { + LIBS += -Wl,--version-script=pyin/vamp-plugin.map +} +macx* { + LIBS += -export_symbols_list pyin/vamp-plugin.list +} + SOURCES += \ chp/ConstrainedHarmonicPeak.cpp \ chp/plugins.cpp \
--- a/pyin.pro Fri Feb 15 22:01:04 2019 +0000 +++ b/pyin.pro Sat Feb 16 09:38:47 2019 +0000 @@ -8,15 +8,27 @@ include(noconfig.pri) } -INCLUDEPATH += vamp-plugin-sdk ../boost_1_69_0 - -## !!! + vampGetPluginDescriptor export - CONFIG -= qt CONFIG += plugin release warn_on TARGET = pyin +#!!! boost path fix plz +INCLUDEPATH += vamp-plugin-sdk ../boost_1_69_0 + +win32-msvc* { + LIBS += -EXPORT:vampGetPluginDescriptor +} +win32-g++* { + LIBS += -Wl,--version-script=pyin/vamp-plugin.map +} +linux* { + LIBS += -Wl,--version-script=pyin/vamp-plugin.map +} +macx* { + LIBS += -export_symbols_list pyin/vamp-plugin.list +} + SOURCES += \ pyin/YinUtil.cpp \ pyin/Yin.cpp \