[CMake] Update formatting and add copy right note

This commit is contained in:
Mike Dev
2019-01-04 13:50:20 +01:00
committed by James E. King III
parent c7df450a81
commit 273db79266

View File

@@ -1,19 +1,26 @@
cmake_minimum_required(VERSION 3.5) # Copyright 2018 Mike Dev
project(boost-mpl) # 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) cmake_minimum_required( VERSION 3.5 )
add_library(Boost::mpl ALIAS boost_mpl) 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 target_include_directories( boost_mpl INTERFACE include )
INTERFACE
Boost::config target_link_libraries( boost_mpl
Boost::core INTERFACE
Boost::predef Boost::config
Boost::preprocessor Boost::core
Boost::static_assert Boost::predef
Boost::type_traits Boost::preprocessor
Boost::utility Boost::static_assert
Boost::type_traits
Boost::utility
) )