forked from boostorg/typeof
Compare commits
2 Commits
boost-1.75
...
esp-idf-co
Author | SHA1 | Date | |
---|---|---|---|
8bf7682f54 | |||
46c7a05f82 |
@ -1,12 +1,11 @@
|
||||
# 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)
|
||||
if(NOT DEFINED IDF_TARGET)
|
||||
|
||||
cmake_minimum_required(VERSION 3.5...3.20)
|
||||
project(boost_typeof VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
|
||||
|
||||
add_library(boost_typeof INTERFACE)
|
||||
add_library(Boost::typeof ALIAS boost_typeof)
|
||||
@ -20,3 +19,19 @@ target_link_libraries(boost_typeof
|
||||
Boost::type_traits
|
||||
)
|
||||
|
||||
else()
|
||||
|
||||
FILE(GLOB_RECURSE headers include/*.h include/*.hpp)
|
||||
|
||||
idf_component_register(
|
||||
SRCS
|
||||
${headers}
|
||||
INCLUDE_DIRS
|
||||
include
|
||||
REQUIRES
|
||||
boost_config
|
||||
boost_preprocessor
|
||||
boost_type_traits
|
||||
)
|
||||
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user