crdt_tests/version0/CMakeLists.txt

27 lines
527 B
CMake
Raw Normal View History

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
########################################
2022-12-22 15:20:32 +01:00
add_executable(v0_test1
2022-12-13 18:38:30 +01:00
./test1.cpp
)
2022-12-22 15:20:32 +01:00
target_link_libraries(v0_test1 PUBLIC crdt_version0)
2022-12-13 18:38:30 +01:00
2022-12-14 22:06:23 +01:00
########################################
2022-12-22 15:20:32 +01:00
add_executable(v0_test2
2022-12-14 22:06:23 +01:00
./test2.cpp
)
2022-12-22 15:20:32 +01:00
target_link_libraries(v0_test2 PUBLIC crdt_version0)
2022-12-14 22:06:23 +01:00