forked from boostorg/typeof
Compare commits
4 Commits
boost-1.72
...
boost-1.74
Author | SHA1 | Date | |
---|---|---|---|
27890f7ec1 | |||
a660ddd9fd | |||
067ad10264 | |||
f7ceda084a |
22
CMakeLists.txt
Normal file
22
CMakeLists.txt
Normal file
@ -0,0 +1,22 @@
|
||||
# Copyright 2018 Mike Dev
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
|
||||
#
|
||||
# NOTE: CMake support for Boost.typeof is currently experimental at best
|
||||
# and the interface is likely to change in the future
|
||||
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
project(BoostTypeof LANGUAGES CXX)
|
||||
|
||||
add_library(boost_typeof INTERFACE)
|
||||
add_library(Boost::typeof ALIAS boost_typeof)
|
||||
|
||||
target_include_directories(boost_typeof INTERFACE include)
|
||||
|
||||
target_link_libraries(boost_typeof
|
||||
INTERFACE
|
||||
Boost::config
|
||||
Boost::preprocessor
|
||||
Boost::type_traits
|
||||
)
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/typeof/constant.hpp>
|
||||
#include <cstddef> // for std::size_t
|
||||
|
||||
namespace boost { namespace type_of {
|
||||
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <boost/typeof/vector.hpp>
|
||||
#include <boost/type_traits/enable_if.hpp>
|
||||
#include <boost/type_traits/is_function.hpp>
|
||||
#include <cstddef> // for std::size_t
|
||||
|
||||
#define BOOST_TYPEOF_VECTOR(n) BOOST_PP_CAT(boost::type_of::vector, n)
|
||||
|
||||
|
Reference in New Issue
Block a user