2022-12-13 18:38:30 +01:00
|
|
|
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
|
|
|
|
|
|
|
|
project(crdt_version0 CXX C)
|
|
|
|
|
2022-12-16 17:17:25 +01:00
|
|
|
add_library(crdt_version0 INTERFACE)
|
|
|
|
|
|
|
|
target_compile_features(crdt_version0 INTERFACE cxx_std_17)
|
|
|
|
|
|
|
|
target_include_directories(crdt_version0 INTERFACE "${PROJECT_SOURCE_DIR}")
|
|
|
|
|
2022-12-13 18:38:30 +01:00
|
|
|
########################################
|
|
|
|
|
|
|
|
add_executable(test1
|
|
|
|
./test1.cpp
|
|
|
|
)
|
|
|
|
|
2022-12-16 17:17:25 +01:00
|
|
|
target_link_libraries(test1 PUBLIC crdt_version0)
|
2022-12-13 18:38:30 +01:00
|
|
|
|
2022-12-14 22:06:23 +01:00
|
|
|
########################################
|
|
|
|
|
|
|
|
add_executable(test2
|
|
|
|
./test2.cpp
|
|
|
|
)
|
|
|
|
|
2022-12-16 17:17:25 +01:00
|
|
|
target_link_libraries(test2 PUBLIC crdt_version0)
|
2022-12-14 22:06:23 +01:00
|
|
|
|