mirror of
https://github.com/Green-Sky/crdt_tests.git
synced 2024-12-22 15:53:24 +01:00
move stuff around
This commit is contained in:
parent
d047e44fb0
commit
ce63f08ae6
@ -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)
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "./text_document.hpp"
|
#include <crdt/text_document.hpp>
|
||||||
|
|
||||||
#include <numeric>
|
#include <numeric>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
|
Loading…
Reference in New Issue
Block a user