35 lines
824 B
CMake
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
|
|
)
|
|
|