plugin symbol visibilty
This commit is contained in:
@@ -4,6 +4,11 @@ add_library(plugin_crdtnotes SHARED
|
||||
./plugin_crdtnotes.cpp
|
||||
)
|
||||
target_compile_features(plugin_crdtnotes PUBLIC cxx_std_17)
|
||||
set_target_properties(plugin_crdtnotes PROPERTIES
|
||||
C_VISIBILITY_PRESET hidden
|
||||
POSITION_INDEPENDENT_CODE ON
|
||||
)
|
||||
target_compile_definitions(plugin_crdtnotes PUBLIC ENTT_API_IMPORT)
|
||||
target_link_libraries(plugin_crdtnotes PUBLIC
|
||||
solanaceae_crdtnotes
|
||||
solanaceae_plugin
|
||||
@@ -15,6 +20,11 @@ add_library(plugin_crdtnotes_imgui SHARED
|
||||
./plugin_crdtnotes_imgui.cpp
|
||||
)
|
||||
target_compile_features(plugin_crdtnotes_imgui PUBLIC cxx_std_17)
|
||||
set_target_properties(plugin_crdtnotes_imgui PROPERTIES
|
||||
C_VISIBILITY_PRESET hidden
|
||||
POSITION_INDEPENDENT_CODE ON
|
||||
)
|
||||
target_compile_definitions(plugin_crdtnotes_imgui PUBLIC ENTT_API_IMPORT)
|
||||
target_link_libraries(plugin_crdtnotes_imgui PUBLIC
|
||||
solanaceae_crdtnotes_imgui
|
||||
solanaceae_plugin
|
||||
@@ -27,6 +37,11 @@ if (TARGET solanaceae_crdtnotes_toxsync)
|
||||
./plugin_crdtnotes_toxsync.cpp
|
||||
)
|
||||
target_compile_features(plugin_crdtnotes_toxsync PUBLIC cxx_std_17)
|
||||
set_target_properties(plugin_crdtnotes_toxsync PROPERTIES
|
||||
C_VISIBILITY_PRESET hidden
|
||||
POSITION_INDEPENDENT_CODE ON
|
||||
)
|
||||
target_compile_definitions(plugin_crdtnotes_toxsync PUBLIC ENTT_API_IMPORT)
|
||||
target_link_libraries(plugin_crdtnotes_toxsync PUBLIC
|
||||
solanaceae_crdtnotes_toxsync
|
||||
solanaceae_plugin
|
||||
|
Reference in New Issue
Block a user