Compile option on windows to export the clap_entry symbol
@@ -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()
