plugin boilerplate
This commit is contained in:
16
plugins/CMakeLists.txt
Normal file
16
plugins/CMakeLists.txt
Normal 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
|
||||
)
|
||||
|
Reference in New Issue
Block a user