MushMachine/framework/std_utils/CMakeLists.txt

30 lines
677 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
project(std_utils CXX)
add_library(std_utils INTERFACE)
target_include_directories(std_utils INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/src")
2022-10-30 16:17:48 +01:00
target_compile_features(std_utils INTERFACE cxx_std_17)
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")
2022-10-30 16:17:48 +01:00
target_compile_features(std_utils_serialize INTERFACE cxx_std_17)
2021-03-19 16:28:40 +01:00
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()