2020-09-29 13:47:50 +02:00
|
|
|
cmake_minimum_required(VERSION 3.2)
|
|
|
|
project(std_utils CXX)
|
|
|
|
|
|
|
|
add_library(std_utils INTERFACE)
|
|
|
|
|
|
|
|
target_include_directories(std_utils INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
|
|
|
|
2021-03-19 16:28:40 +01:00
|
|
|
##############################
|
|
|
|
|
|
|
|
# curr only scalar_range
|
|
|
|
add_library(std_utils_serialize INTERFACE)
|
|
|
|
|
|
|
|
target_include_directories(std_utils_serialize INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
|
|
|
|
|
|
|
target_link_libraries(std_utils_serialize INTERFACE
|
|
|
|
nlohmann_json::nlohmann_json
|
|
|
|
)
|
|
|
|
|
|
|
|
##############################
|
|
|
|
|
2021-03-18 20:05:58 +01:00
|
|
|
if (BUILD_TESTING)
|
|
|
|
add_subdirectory(test)
|
|
|
|
endif()
|
2020-09-29 13:47:50 +02:00
|
|
|
|