solanaceae_ecosystem/plugins/CMakeLists.txt

38 lines
931 B
CMake
Raw Normal View History

2023-08-03 23:35:25 +02:00
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
add_library(plugin_transfer_auto_accept MODULE
2023-08-19 23:22:33 +02:00
./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)
2023-08-19 23:22:33 +02:00
target_link_libraries(plugin_transfer_auto_accept PUBLIC
solanaceae_plugin
solanaceae_util
solanaceae_object_store
2023-08-19 23:22:33 +02:00
solanaceae_message3
solanaceae_tox_messages # sad, for filekind
2023-08-19 23:22:33 +02:00
)
########################################
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
)