Add CMakeLists.txt

This commit is contained in:
Peter Dimov 2021-05-28 05:27:47 +03:00
parent 0da9625973
commit f39365963a

56
CMakeLists.txt Normal file
View File

@ -0,0 +1,56 @@
# Generated by `boostdep --cmake geometry`
# 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_geometry VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
add_library(boost_geometry INTERFACE)
add_library(Boost::geometry ALIAS boost_geometry)
target_include_directories(boost_geometry INTERFACE include)
target_link_libraries(boost_geometry
INTERFACE
Boost::algorithm
Boost::array
Boost::assert
Boost::concept_check
Boost::config
Boost::container
Boost::core
Boost::endian
Boost::function_types
Boost::fusion
Boost::integer
Boost::iterator
Boost::lexical_cast
Boost::math
Boost::move
Boost::mpl
Boost::multiprecision
Boost::numeric_conversion
Boost::polygon
Boost::qvm
Boost::range
Boost::rational
Boost::serialization
Boost::smart_ptr
Boost::static_assert
Boost::thread
Boost::throw_exception
Boost::tokenizer
Boost::tuple
Boost::type_traits
Boost::utility
Boost::variant
)
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
add_subdirectory(test)
endif()