plugin symbol visiblity

This commit is contained in:
Green Sky 2024-05-19 11:41:31 +02:00
parent a0814b4fc7
commit fe28aaeda0
No known key found for this signature in database
2 changed files with 10 additions and 0 deletions

View File

@ -4,6 +4,13 @@ add_library(plugin_ircclient SHARED
./plugin_ircclient.cpp
)
set_target_properties(plugin_ircclient PROPERTIES
C_VISIBILITY_PRESET hidden
POSITION_INDEPENDENT_CODE ON
)
# probably not enough
target_compile_definitions(plugin_ircclient PUBLIC ENTT_API_IMPORT)
target_link_libraries(plugin_ircclient PUBLIC
solanaceae_plugin
solanaceae_ircclient_contacts

View File

@ -4,6 +4,9 @@
#include <solanaceae/ircclient_contacts/ircclient_contact_model.hpp>
#include <solanaceae/ircclient_messages/ircclient_message_manager.hpp>
#include <entt/entt.hpp>
#include <entt/fwd.hpp>
#include <memory>
#include <iostream>