From 92d3d89d0f79f385fd3973fb3e632a393666a9e3 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Tue, 13 Dec 2022 18:38:30 +0100 Subject: [PATCH] rename prototype tests to prototypes --- prototyping/CMakeLists.txt | 14 +++++--------- version0/CMakeLists.txt | 12 ++++++++++++ 2 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 version0/CMakeLists.txt diff --git a/prototyping/CMakeLists.txt b/prototyping/CMakeLists.txt index e868ea2..1eb49c1 100644 --- a/prototyping/CMakeLists.txt +++ b/prototyping/CMakeLists.txt @@ -4,25 +4,21 @@ project(crdt_tests CXX C) ######################################## -add_executable(test1 +add_executable(prot1 ./test1.cpp ) -target_compile_features(test1 PUBLIC cxx_std_17) +target_compile_features(prot1 PUBLIC cxx_std_17) -target_link_libraries(test1 PUBLIC +target_link_libraries(prot1 PUBLIC nlohmann_json::nlohmann_json ) ######################################## -add_executable(test2 +add_executable(prot2 ./test2.cpp ) -target_compile_features(test2 PUBLIC cxx_std_17) - -target_link_libraries(test2 PUBLIC - nlohmann_json::nlohmann_json -) +target_compile_features(prot2 PUBLIC cxx_std_17) diff --git a/version0/CMakeLists.txt b/version0/CMakeLists.txt new file mode 100644 index 0000000..29404ad --- /dev/null +++ b/version0/CMakeLists.txt @@ -0,0 +1,12 @@ +cmake_minimum_required(VERSION 3.9 FATAL_ERROR) + +project(crdt_version0 CXX C) + +######################################## + +add_executable(test1 + ./test1.cpp +) + +target_compile_features(test1 PUBLIC cxx_std_17) +