From d78dd02a9015432473b275e2ec502258c47386f7 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Tue, 18 Dec 2018 19:52:41 +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..3e122d4 --- /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(BoostDetail LANGUAGES CXX) + +add_library(boost_detail INTERFACE) +add_library(Boost::detail ALIAS boost_detail) + +target_include_directories(boost_detail INTERFACE include) + +target_link_libraries(boost_detail + INTERFACE + Boost::config + Boost::core + Boost::preprocessor + Boost::static_assert + Boost::type_traits +)