plugin symbol visibility
This commit is contained in:
@@ -3,7 +3,10 @@ cmake_minimum_required(VERSION 3.14...3.24 FATAL_ERROR)
|
||||
add_library(plugin_zox_ngc SHARED
|
||||
./plugin_zox_ngc.cpp
|
||||
)
|
||||
set_property(TARGET plugin_zox_ngc PROPERTY C_VISIBILITY_PRESET hidden)
|
||||
set_target_properties(plugin_zox_ngc PROPERTIES
|
||||
C_VISIBILITY_PRESET hidden
|
||||
POSITION_INDEPENDENT_CODE ON
|
||||
)
|
||||
|
||||
target_link_libraries(plugin_zox_ngc PUBLIC
|
||||
solanaceae_plugin
|
||||
@@ -15,7 +18,12 @@ target_link_libraries(plugin_zox_ngc PUBLIC
|
||||
add_library(plugin_zox_ngc_hs SHARED
|
||||
./plugin_zox_ngc_hs.cpp
|
||||
)
|
||||
set_property(TARGET plugin_zox_ngc_hs PROPERTY C_VISIBILITY_PRESET hidden)
|
||||
|
||||
set_target_properties(plugin_zox_ngc_hs PROPERTIES
|
||||
C_VISIBILITY_PRESET hidden
|
||||
POSITION_INDEPENDENT_CODE ON
|
||||
)
|
||||
target_compile_definitions(plugin_zox_ngc_hs PUBLIC ENTT_API_IMPORT)
|
||||
|
||||
target_link_libraries(plugin_zox_ngc_hs PUBLIC
|
||||
solanaceae_plugin
|
||||
|
||||
Reference in New Issue
Block a user