From 273db7926616f5f4d98121952d3221af6b4fc049 Mon Sep 17 00:00:00 2001 From: Mike Dev Date: Fri, 4 Jan 2019 13:50:20 +0100 Subject: [PATCH] [CMake] Update formatting and add copy right note --- CMakeLists.txt | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index beced15..2d6020a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,19 +1,26 @@ -cmake_minimum_required(VERSION 3.5) -project(boost-mpl) +# Copyright 2018 Mike Dev +# 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 +# +# NOTE: CMake support for Boost.Mpl is currently experimental at best +# and the interface is likely to change in the future -add_library(boost_mpl INTERFACE) -add_library(Boost::mpl ALIAS boost_mpl) +cmake_minimum_required( VERSION 3.5 ) +project( BoostMpl LANGUAGES CXX ) -target_include_directories(boost_mpl INTERFACE include) +add_library( boost_mpl INTERFACE ) +add_library( Boost::mpl ALIAS boost_mpl ) -target_link_libraries(boost_mpl - INTERFACE - Boost::config - Boost::core - Boost::predef - Boost::preprocessor - Boost::static_assert - Boost::type_traits - Boost::utility +target_include_directories( boost_mpl INTERFACE include ) + +target_link_libraries( boost_mpl + INTERFACE + Boost::config + Boost::core + Boost::predef + Boost::preprocessor + Boost::static_assert + Boost::type_traits + Boost::utility )