clap

CLAP Audio Plugin API
Log | Files | Refs | README | LICENSE

commit 66944116e55b6762212ab33e330ec1ff7bbf5162
parent 7693887fcf4511cf01810cb92c3076e644eb2d6d
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Wed, 15 Jun 2022 22:09:17 +0200

Compile option on windows to export the clap_entry symbol

Diffstat:
MCMakeLists.txt | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -64,6 +64,7 @@ if (${CLAP_BUILD_TESTS}) MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/src/plugins.plist.in ) elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows") + target_link_options(clap-plugin-template PRIVATE /EXPORT:clap_entry) set_target_properties(clap-plugin-template PROPERTIES SUFFIX ".clap" PREFIX "") endif() endif()