Regenerate CMakeLists.txt

This commit is contained in:
Peter Dimov
2024-09-18 18:18:26 +03:00
parent 68d6dbea89
commit 6fba35ace5

View File

@ -1,21 +1,29 @@
# Copyright 2019 Mike Dev
# Generated by `boostdep --cmake function_types`
# Copyright 2020, 2021 Peter Dimov
# 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
# https://www.boost.org/LICENSE_1_0.txt
cmake_minimum_required( VERSION 3.5...3.20 )
project( boost_function_types VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX )
cmake_minimum_required(VERSION 3.5...3.20)
add_library( boost_function_types INTERFACE )
add_library( Boost::function_types ALIAS boost_function_types )
project(boost_function_types VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
target_include_directories( boost_function_types INTERFACE include )
add_library(boost_function_types INTERFACE)
add_library(Boost::function_types ALIAS boost_function_types)
target_link_libraries( boost_function_types
INTERFACE
Boost::config
Boost::core
Boost::detail
Boost::mpl
Boost::preprocessor
Boost::type_traits
target_include_directories(boost_function_types INTERFACE include)
target_link_libraries(boost_function_types
INTERFACE
Boost::config
Boost::core
Boost::detail
Boost::mpl
Boost::preprocessor
Boost::type_traits
)
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
add_subdirectory(test)
endif()