diff --git a/CMakeLists.txt b/CMakeLists.txt index 6abc5a2..e1eddee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,27 +33,5 @@ elseif (${CMAKE_CXX_COMPILER_ID} STREQUAL "MSVC") endif() endif() -######################################## - -add_executable(test1 - ./test1.cpp -) - -target_compile_features(test1 PUBLIC cxx_std_17) - -target_link_libraries(test1 PUBLIC - nlohmann_json::nlohmann_json -) - -######################################## - -add_executable(test2 - ./test2.cpp -) - -target_compile_features(test2 PUBLIC cxx_std_17) - -target_link_libraries(test2 PUBLIC - nlohmann_json::nlohmann_json -) +add_subdirectory(./prototyping) diff --git a/prototyping/CMakeLists.txt b/prototyping/CMakeLists.txt new file mode 100644 index 0000000..e868ea2 --- /dev/null +++ b/prototyping/CMakeLists.txt @@ -0,0 +1,28 @@ +cmake_minimum_required(VERSION 3.9 FATAL_ERROR) + +project(crdt_tests CXX C) + +######################################## + +add_executable(test1 + ./test1.cpp +) + +target_compile_features(test1 PUBLIC cxx_std_17) + +target_link_libraries(test1 PUBLIC + nlohmann_json::nlohmann_json +) + +######################################## + +add_executable(test2 + ./test2.cpp +) + +target_compile_features(test2 PUBLIC cxx_std_17) + +target_link_libraries(test2 PUBLIC + nlohmann_json::nlohmann_json +) + diff --git a/test1.cpp b/prototyping/test1.cpp similarity index 100% rename from test1.cpp rename to prototyping/test1.cpp diff --git a/test2.cpp b/prototyping/test2.cpp similarity index 100% rename from test2.cpp rename to prototyping/test2.cpp