From fd40a25feac77fcae315197dfbaff9e690ea463b Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 18 Mar 2021 17:28:05 +0200 Subject: [PATCH] Add CMakeLists.txt --- CMakeLists.txt | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..57102f4 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,41 @@ +# 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 + +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() +