plugin symbol visibility
This commit is contained in:
parent
df2e1d6d42
commit
ff52f15566
2
external/CMakeLists.txt
vendored
2
external/CMakeLists.txt
vendored
@ -6,7 +6,7 @@ if (NOT TARGET imgui)
|
||||
message("II using FetchContent imgui")
|
||||
FetchContent_Declare(imgui
|
||||
GIT_REPOSITORY https://github.com/ocornut/imgui.git
|
||||
GIT_TAG d6cb3c9 # v1.90.1
|
||||
GIT_TAG 6ccc561 # v1.90.6
|
||||
EXCLUDE_FROM_ALL
|
||||
)
|
||||
|
||||
|
@ -4,6 +4,12 @@ add_library(plugin_toxic_games SHARED
|
||||
./plugin_toxic_games.cpp
|
||||
)
|
||||
|
||||
set_target_properties(plugin_toxic_games PROPERTIES
|
||||
C_VISIBILITY_PRESET hidden
|
||||
POSITION_INDEPENDENT_CODE ON
|
||||
)
|
||||
target_compile_definitions(plugin_toxic_games PUBLIC ENTT_API_IMPORT)
|
||||
|
||||
target_link_libraries(plugin_toxic_games PUBLIC
|
||||
solanaceae_plugin
|
||||
solanaceae_toxic_games
|
||||
|
@ -3,6 +3,9 @@
|
||||
#include <solanaceae/toxic_games/toxic_games.hpp>
|
||||
#include <solanaceae/toxcore/tox_interface.hpp>
|
||||
|
||||
#include <entt/entt.hpp>
|
||||
#include <entt/fwd.hpp>
|
||||
|
||||
#include <memory>
|
||||
#include <limits>
|
||||
#include <iostream>
|
||||
|
Loading…
Reference in New Issue
Block a user