solanaceae_ecosystem/plugins/CMakeLists.txt
Green Sky b51414f049
Some checks failed
ContinuousDelivery / windows (push) Waiting to run
ContinuousDelivery / release (push) Blocked by required conditions
ContinuousIntegration / macos (push) Waiting to run
ContinuousIntegration / windows (push) Waiting to run
ContinuousDelivery / linux-ubuntu (push) Failing after 3m21s
ContinuousIntegration / linux (push) Successful in 2m41s
ContinuousIntegration / android (push) Failing after 5m26s
fix imgui, add dice tool and p2prng (non functional yet)
2024-08-07 11:08:19 +02:00

56 lines
1.3 KiB
CMake

cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
add_library(plugin_ngcft1 MODULE
./plugin_ngcft1.cpp
)
set_target_properties(plugin_ngcft1 PROPERTIES
C_VISIBILITY_PRESET hidden
VISIBILITY_INLINES_HIDDEN ON # do we need this?
)
target_compile_definitions(plugin_ngcft1 PUBLIC ENTT_API_IMPORT)
target_link_libraries(plugin_ngcft1 PUBLIC
solanaceae_plugin
solanaceae_ngcext
solanaceae_ngcft1
solanaceae_sha1_ngcft1
)
########################################
add_library(plugin_transfer_auto_accept MODULE
./plugin_transfer_auto_accept.cpp
./transfer_auto_accept.hpp
./transfer_auto_accept.cpp
)
set_target_properties(plugin_transfer_auto_accept PROPERTIES
C_VISIBILITY_PRESET hidden
)
target_compile_definitions(plugin_transfer_auto_accept PUBLIC ENTT_API_IMPORT)
target_link_libraries(plugin_transfer_auto_accept PUBLIC
solanaceae_plugin
solanaceae_util
solanaceae_object_store
solanaceae_message3
solanaceae_tox_messages # sad, for filekind
)
########################################
add_library(plugin_dice_tool MODULE
./plugin_dice_tool.cpp
./dice_tool.hpp
./dice_tool.cpp
)
set_target_properties(plugin_dice_tool PROPERTIES
C_VISIBILITY_PRESET hidden
)
target_compile_definitions(plugin_dice_tool PUBLIC ENTT_API_IMPORT)
target_link_libraries(plugin_dice_tool PUBLIC
solanaceae_plugin
solanaceae_tox_p2prng
imgui
)