From 131107704f897eacb8a65510205a8a15067e2458 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Tue, 18 Dec 2018 19:35:32 +0300 Subject: [PATCH] Added an experimental partial CMakeLists.txt for dependency tracking in CMake projects. --- CMakeLists.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..93bb514 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,25 @@ +# Copyright 2018 Peter Dimov +# Copyright 2018 Andrey Semashev +# Distributed under the Boost Software License, Version 1.0. +# See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt + +# Partial (add_subdirectory only) and experimental CMake support +# Subject to change; please do not rely on the contents of this file yet. + +cmake_minimum_required(VERSION 3.5) + +project(BoostInteger LANGUAGES CXX) + +add_library(boost_integer INTERFACE) +add_library(Boost::integer ALIAS boost_integer) + +target_include_directories(boost_integer INTERFACE include) + +target_link_libraries(boost_integer + INTERFACE + Boost::assert + Boost::config + Boost::core + Boost::static_assert + Boost::throw_exception +)