plugin symbol visibilty

This commit is contained in:
Green Sky 2024-05-19 11:42:34 +02:00
parent 5461893628
commit 589a947449
No known key found for this signature in database
2 changed files with 8 additions and 1 deletions

View File

@ -6,6 +6,11 @@ add_library(plugin_mfs_wip SHARED
./plugin_mfs_wip.cpp ./plugin_mfs_wip.cpp
) )
target_compile_features(plugin_mfs_wip PUBLIC cxx_std_17) target_compile_features(plugin_mfs_wip PUBLIC cxx_std_17)
set_target_properties(plugin_mfs_wip PROPERTIES
C_VISIBILITY_PRESET hidden
POSITION_INDEPENDENT_CODE ON
)
target_compile_definitions(plugin_mfs_wip PUBLIC ENTT_API_IMPORT)
target_link_libraries(plugin_mfs_wip PUBLIC target_link_libraries(plugin_mfs_wip PUBLIC
solanaceae_plugin solanaceae_plugin
solanaceae_message_fragment_store solanaceae_message_fragment_store

View File

@ -1,10 +1,12 @@
#include <cinttypes>
#include <solanaceae/plugin/solana_plugin_v1.h> #include <solanaceae/plugin/solana_plugin_v1.h>
#include <solanaceae/message3/message_serializer.hpp> #include <solanaceae/message3/message_serializer.hpp>
#include <solanaceae/object_store/backends/filesystem_storage.hpp> #include <solanaceae/object_store/backends/filesystem_storage.hpp>
#include <solanaceae/message_fragment_store/message_fragment_store.hpp> #include <solanaceae/message_fragment_store/message_fragment_store.hpp>
#include <entt/entt.hpp>
#include <entt/fwd.hpp>
#include <memory> #include <memory>
#include <limits> #include <limits>
#include <iostream> #include <iostream>