2022-12-13 17:50:18 +01:00
|
|
|
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
|
|
|
|
|
|
|
|
project(crdt_tests CXX C)
|
|
|
|
|
|
|
|
########################################
|
|
|
|
|
2022-12-13 18:38:30 +01:00
|
|
|
add_executable(prot1
|
2022-12-13 17:50:18 +01:00
|
|
|
./test1.cpp
|
|
|
|
)
|
|
|
|
|
2022-12-13 18:38:30 +01:00
|
|
|
target_compile_features(prot1 PUBLIC cxx_std_17)
|
2022-12-13 17:50:18 +01:00
|
|
|
|
2022-12-13 18:38:30 +01:00
|
|
|
target_link_libraries(prot1 PUBLIC
|
2022-12-13 17:50:18 +01:00
|
|
|
nlohmann_json::nlohmann_json
|
|
|
|
)
|
|
|
|
|
|
|
|
########################################
|
|
|
|
|
2022-12-13 18:38:30 +01:00
|
|
|
add_executable(prot2
|
2022-12-13 17:50:18 +01:00
|
|
|
./test2.cpp
|
|
|
|
)
|
|
|
|
|
2022-12-13 18:38:30 +01:00
|
|
|
target_compile_features(prot2 PUBLIC cxx_std_17)
|
2022-12-13 17:50:18 +01:00
|
|
|
|