improve symbol visibilty and entt api import
This commit is contained in:
parent
8fc197423a
commit
99930c1b3d
@ -4,6 +4,12 @@ add_library(plugin_sdbot-webui SHARED
|
||||
./plugin_sdbot-webui.cpp
|
||||
)
|
||||
|
||||
set_target_properties(plugin_sdbot-webui PROPERTIES
|
||||
C_VISIBILITY_PRESET hidden
|
||||
POSITION_INDEPENDENT_CODE ON
|
||||
)
|
||||
target_compile_definitions(plugin_sdbot-webui PUBLIC ENTT_API_IMPORT)
|
||||
|
||||
target_link_libraries(plugin_sdbot-webui PUBLIC
|
||||
solanaceae_plugin
|
||||
solanaceae_sdbot-webui
|
||||
|
@ -4,6 +4,9 @@
|
||||
|
||||
#include <solanaceae/util/config_model.hpp>
|
||||
|
||||
#include <entt/entt.hpp>
|
||||
#include <entt/fwd.hpp>
|
||||
|
||||
#include <memory>
|
||||
#include <iostream>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user