2021-03-18 17:28:05 +02:00
|
|
|
# Generated by `boostdep --cmake range`
|
|
|
|
# Copyright 2020 Peter Dimov
|
|
|
|
# Distributed under the Boost Software License, Version 1.0.
|
|
|
|
# https://www.boost.org/LICENSE_1_0.txt
|
|
|
|
|
2023-11-23 17:17:05 +01:00
|
|
|
if(NOT DEFINED IDF_TARGET)
|
|
|
|
|
2021-03-18 17:28:05 +02:00
|
|
|
cmake_minimum_required(VERSION 3.5...3.16)
|
|
|
|
|
|
|
|
project(boost_range VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
|
|
|
|
|
|
|
|
add_library(boost_range INTERFACE)
|
|
|
|
add_library(Boost::range ALIAS boost_range)
|
|
|
|
|
|
|
|
target_include_directories(boost_range INTERFACE include)
|
|
|
|
|
|
|
|
target_link_libraries(boost_range
|
|
|
|
INTERFACE
|
|
|
|
Boost::array
|
|
|
|
Boost::assert
|
|
|
|
Boost::concept_check
|
|
|
|
Boost::config
|
|
|
|
Boost::container_hash
|
|
|
|
Boost::conversion
|
|
|
|
Boost::core
|
|
|
|
Boost::detail
|
|
|
|
Boost::iterator
|
|
|
|
Boost::mpl
|
|
|
|
Boost::optional
|
|
|
|
Boost::preprocessor
|
|
|
|
Boost::regex
|
|
|
|
Boost::static_assert
|
|
|
|
Boost::tuple
|
|
|
|
Boost::type_traits
|
|
|
|
Boost::utility
|
|
|
|
)
|
|
|
|
|
|
|
|
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
|
|
|
|
|
|
|
|
add_subdirectory(test)
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
2023-11-23 17:17:05 +01:00
|
|
|
else()
|
|
|
|
|
|
|
|
FILE(GLOB_RECURSE headers include/*.h include/*.hpp)
|
|
|
|
|
|
|
|
idf_component_register(
|
|
|
|
SRCS
|
|
|
|
${headers}
|
|
|
|
INCLUDE_DIRS
|
|
|
|
include
|
|
|
|
REQUIRES
|
|
|
|
boost_array
|
|
|
|
boost_assert
|
|
|
|
boost_concept_check
|
|
|
|
boost_config
|
|
|
|
boost_container_hash
|
|
|
|
boost_conversion
|
|
|
|
boost_core
|
|
|
|
boost_detail
|
|
|
|
boost_iterator
|
|
|
|
boost_mpl
|
|
|
|
boost_optional
|
|
|
|
boost_preprocessor
|
|
|
|
boost_regex
|
|
|
|
boost_static_assert
|
|
|
|
boost_tuple
|
|
|
|
boost_type_traits
|
|
|
|
boost_utility
|
|
|
|
)
|
|
|
|
|
|
|
|
endif()
|