-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
29 lines (20 loc) · 820 Bytes
/
CMakeLists.txt
File metadata and controls
29 lines (20 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Generated by `boostdep --cmake safe_numbers`
# Copyright 2020, 2021 Peter Dimov
# Distributed under the Boost Software License, Version 1.0.
# https://www.boost.org/LICENSE_1_0.txt
cmake_minimum_required(VERSION 3.12...3.31)
project(boost_safe_numbers VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
add_library(boost_safe_numbers INTERFACE)
add_library(Boost::safe_numbers ALIAS boost_safe_numbers)
target_include_directories(boost_safe_numbers INTERFACE include)
target_link_libraries(boost_safe_numbers
INTERFACE
Boost::charconv
Boost::core
Boost::random
Boost::throw_exception
)
target_compile_features(boost_safe_numbers INTERFACE cxx_std_20)
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
add_subdirectory(test)
endif()