move stuff around

This commit is contained in:
Green Sky 2022-12-16 17:17:25 +01:00
parent d047e44fb0
commit ce63f08ae6
No known key found for this signature in database
5 changed files with 11 additions and 9 deletions

View File

@ -2,23 +2,25 @@ cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
project(crdt_version0 CXX C) project(crdt_version0 CXX C)
add_library(crdt_version0 INTERFACE)
target_compile_features(crdt_version0 INTERFACE cxx_std_17)
target_include_directories(crdt_version0 INTERFACE "${PROJECT_SOURCE_DIR}")
######################################## ########################################
add_executable(test1 add_executable(test1
./list.hpp
./text_document.hpp
./test1.cpp ./test1.cpp
) )
target_compile_features(test1 PUBLIC cxx_std_17) target_link_libraries(test1 PUBLIC crdt_version0)
######################################## ########################################
add_executable(test2 add_executable(test2
./list.hpp
./text_document.hpp
./test2.cpp ./test2.cpp
) )
target_compile_features(test2 PUBLIC cxx_std_17) target_link_libraries(test2 PUBLIC crdt_version0)

View File

@ -1,5 +1,5 @@
#include "./list.hpp" #include <crdt/list.hpp>
#include "./text_document.hpp" #include <crdt/text_document.hpp>
#include <numeric> #include <numeric>
#include <random> #include <random>

View File

@ -1,4 +1,4 @@
#include "./text_document.hpp" #include <crdt/text_document.hpp>
#include <numeric> #include <numeric>
#include <optional> #include <optional>