symbol visiblity and fixes for entt export/import

(hopefully)
This commit is contained in:
Green Sky 2024-05-19 11:48:46 +02:00
parent 0bd7131d9c
commit 64a5eee3ca
No known key found for this signature in database
11 changed files with 25 additions and 11 deletions

@ -1 +1 @@
Subproject commit 998794a6dd8faaa991a962d562f61ead7cd0b96b
Subproject commit 998bf35da5bb2d48e82ad22fd3d60176409fcffb

@ -1 +1 @@
Subproject commit a0814b4fc75c563ab63c24a75917108c44c51a25
Subproject commit fe28aaeda0b7c2b9512235fbdc17000894214c24

@ -1 +1 @@
Subproject commit be58c0cece3621f523a76c801c1c7d4886fee563
Subproject commit 85e2b633dba4741f6624b99bb118e1ab730b6677

@ -1 +1 @@
Subproject commit 5461893628e188216311249bb2bbec0757c7a775
Subproject commit 589a947449cf7374f475a256ef03cc64e2010ef0

@ -1 +1 @@
Subproject commit 6d0e2ad3967eef9675373a869f525dd2aaeb424e
Subproject commit 58bbdc4a41ed98021dc74a2030aa42fbf86b3e8a

@ -1 +1 @@
Subproject commit df2e1d6d42f3adfb71c14ae2f4ffb5a09fd81f97
Subproject commit ff52f155663ae6e181d9e52e90bd32c116bd15b6

@ -1 +1 @@
Subproject commit ecfaecd7f98af4da06f6a1641c10836afebe5f48
Subproject commit 466efc5da3a404b45e58babd239e5d58e83c294e

2
external/totato vendored

@ -1 +1 @@
Subproject commit 71d93329c5ed5132ff9f28a5b2d184dcd15e3a01
Subproject commit 446a4939f5f6badee98dcff6529d8ea48368116c

View File

@ -3,8 +3,12 @@ cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
add_library(plugin_ngcft1 SHARED
./plugin_ngcft1.cpp
)
set_property(TARGET plugin_ngcft1 PROPERTY C_VISIBILITY_PRESET hidden)
set_property(TARGET plugin_ngcft1 PROPERTY VISIBILITY_INLINES_HIDDEN ON)
set_target_properties(plugin_ngcft1 PROPERTIES
C_VISIBILITY_PRESET hidden
VISIBILITY_INLINES_HIDDEN ON # do we need this?
POSITION_INDEPENDENT_CODE ON
)
target_compile_definitions(plugin_ngcft1 PUBLIC ENTT_API_IMPORT)
target_link_libraries(plugin_ngcft1 PUBLIC
solanaceae_plugin
@ -20,7 +24,11 @@ add_library(plugin_transfer_auto_accept SHARED
./transfer_auto_accept.hpp
./transfer_auto_accept.cpp
)
set_property(TARGET plugin_transfer_auto_accept PROPERTY C_VISIBILITY_PRESET hidden)
set_target_properties(plugin_transfer_auto_accept PROPERTIES
C_VISIBILITY_PRESET hidden
POSITION_INDEPENDENT_CODE ON
)
target_compile_definitions(plugin_transfer_auto_accept PUBLIC ENTT_API_IMPORT)
target_link_libraries(plugin_transfer_auto_accept PUBLIC
solanaceae_plugin

View File

@ -4,6 +4,9 @@
#include <solanaceae/ngc_ft1/ngcft1.hpp>
#include <solanaceae/ngc_ft1_sha1/sha1_ngcft1.hpp>
#include <entt/entt.hpp>
#include <entt/fwd.hpp>
#include <memory>
#include <iostream>

View File

@ -3,6 +3,9 @@
#include "./transfer_auto_accept.hpp"
#include <solanaceae/util/config_model.hpp>
#include <entt/entt.hpp>
#include <entt/fwd.hpp>
#include <memory>
#include <limits>
#include <iostream>