plugin boilerplate

This commit is contained in:
2024-08-04 18:47:50 +02:00
parent 24e4ecb2b2
commit c82e9a7ec4
4 changed files with 87 additions and 1 deletions

16
plugins/CMakeLists.txt Normal file
View File

@@ -0,0 +1,16 @@
cmake_minimum_required(VERSION 3.9...3.24 FATAL_ERROR)
########################################
add_library(plugin_tox_p2prng MODULE
./plugin_tox_p2prng.cpp
)
target_compile_features(plugin_tox_p2prng PUBLIC cxx_std_17)
set_target_properties(plugin_tox_p2prng PROPERTIES
C_VISIBILITY_PRESET hidden
)
target_link_libraries(plugin_tox_p2prng PUBLIC
solanaceae_tox_p2prng
solanaceae_plugin
)