2023-09-08 09:36:13 +03:00
|
|
|
# Generated by `boostdep --cmake array`
|
|
|
|
# Copyright 2020, 2021 Peter Dimov
|
2018-09-18 13:16:45 +02:00
|
|
|
# Distributed under the Boost Software License, Version 1.0.
|
2023-09-08 09:36:13 +03:00
|
|
|
# https://www.boost.org/LICENSE_1_0.txt
|
2018-09-18 13:16:45 +02:00
|
|
|
|
2021-06-10 01:22:46 +03:00
|
|
|
cmake_minimum_required(VERSION 3.5...3.20)
|
2023-09-08 09:36:13 +03:00
|
|
|
|
2021-06-10 01:22:46 +03:00
|
|
|
project(boost_array VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
|
2018-09-18 13:16:45 +02:00
|
|
|
|
|
|
|
add_library(boost_array INTERFACE)
|
|
|
|
add_library(Boost::array ALIAS boost_array)
|
|
|
|
|
|
|
|
target_include_directories(boost_array INTERFACE include)
|
|
|
|
|
|
|
|
target_link_libraries(boost_array
|
2023-09-08 09:36:13 +03:00
|
|
|
INTERFACE
|
|
|
|
Boost::assert
|
|
|
|
Boost::config
|
|
|
|
Boost::core
|
|
|
|
Boost::static_assert
|
|
|
|
Boost::throw_exception
|
2018-09-18 13:16:45 +02:00
|
|
|
)
|
2023-09-08 09:36:13 +03:00
|
|
|
|
|
|
|
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
|
|
|
|
|
|
|
|
add_subdirectory(test)
|
|
|
|
|
|
|
|
endif()
|