2024-04-14 12:33:17 +02:00
|
|
|
cmake_minimum_required(VERSION 3.9...3.24 FATAL_ERROR)
|
|
|
|
|
|
|
|
project(solanaceae)
|
|
|
|
|
|
|
|
add_library(solanaceae_message_serializer
|
|
|
|
./solanaceae/message3/message_serializer.hpp
|
|
|
|
./solanaceae/message3/message_serializer.cpp
|
2024-04-14 12:41:54 +02:00
|
|
|
|
|
|
|
# TODO: extract?
|
|
|
|
./solanaceae/message3/nj/message_components.hpp
|
|
|
|
./solanaceae/message3/nj/message_components_serializer.hpp
|
|
|
|
./solanaceae/message3/nj/message_components_serializer.cpp
|
2024-04-14 12:33:17 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(solanaceae_message_serializer PUBLIC .)
|
|
|
|
target_compile_features(solanaceae_message_serializer PUBLIC cxx_std_17)
|
|
|
|
target_link_libraries(solanaceae_message_serializer PUBLIC
|
|
|
|
solanaceae_util
|
|
|
|
solanaceae_message3
|
|
|
|
nlohmann_json::nlohmann_json
|
|
|
|
)
|
|
|
|
|
|
|
|
########################################
|
|
|
|
|