solanaceae_ipc1/CMakeLists.txt
2023-04-08 22:22:08 +02:00

35 lines
824 B
CMake

cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
add_library(solanaceae_ipc_client
./solanaceae/ipc1/zpp_rpc_cldev.hpp
./solanaceae/ipc1/tox_ipc_client.hpp
./solanaceae/ipc1/tox_ipc_client.cpp
)
target_include_directories(solanaceae_ipc_client PUBLIC .)
target_compile_features(solanaceae_ipc_client PRIVATE cxx_std_20)
target_link_libraries(solanaceae_ipc_client PUBLIC
solanaceae_core
ipc
zpp_bits
)
#################################################
add_library(solanaceae_ipc_server
./solanaceae/ipc1/zpp_rpc_cldev.hpp
./solanaceae/ipc1/tox_ipc_server.hpp
./solanaceae/ipc1/tox_ipc_server.cpp
)
target_include_directories(solanaceae_ipc_server PUBLIC .)
target_compile_features(solanaceae_ipc_server PRIVATE cxx_std_20)
target_link_libraries(solanaceae_ipc_server PUBLIC
solanaceae_core
ipc
zpp_bits
)