solanaceae_ecosystem/plugins/CMakeLists.txt

55 lines
1.3 KiB
CMake

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)
target_link_libraries(plugin_ngcft1 PUBLIC
solanaceae_plugin
solanaceae_ngcext
solanaceae_ngcft1
solanaceae_sha1_ngcft1
)
########################################
add_library(plugin_zox_ngc SHARED
./plugin_zox_ngc.cpp
)
set_property(TARGET plugin_zox_ngc PROPERTY C_VISIBILITY_PRESET hidden)
target_link_libraries(plugin_zox_ngc PUBLIC
solanaceae_plugin
solanaceae_zox
)
########################################
add_library(plugin_zox_ngc_hs SHARED
./plugin_zox_ngc_hs.cpp
)
set_property(TARGET plugin_zox_ngc_hs PROPERTY C_VISIBILITY_PRESET hidden)
target_link_libraries(plugin_zox_ngc_hs PUBLIC
solanaceae_plugin
solanaceae_zox
)
########################################
add_library(plugin_transfer_auto_accept SHARED
./plugin_transfer_auto_accept.cpp
./transfer_auto_accept.hpp
./transfer_auto_accept.cpp
)
set_property(TARGET plugin_transfer_auto_accept PROPERTY C_VISIBILITY_PRESET hidden)
target_link_libraries(plugin_transfer_auto_accept PUBLIC
solanaceae_plugin
solanaceae_util
solanaceae_message3
solanaceae_tox_messages # sad, for filekind
)