]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | # Generated by `boostdep --cmake function` |
2 | # Copyright 2020 Peter Dimov | |
92f5a8d4 | 3 | # Distributed under the Boost Software License, Version 1.0. |
1e59de90 | 4 | # https://www.boost.org/LICENSE_1_0.txt |
92f5a8d4 | 5 | |
1e59de90 | 6 | cmake_minimum_required(VERSION 3.5...3.16) |
92f5a8d4 | 7 | |
1e59de90 | 8 | project(boost_function VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX) |
92f5a8d4 TL |
9 | |
10 | add_library(boost_function INTERFACE) | |
11 | add_library(Boost::function ALIAS boost_function) | |
12 | ||
13 | target_include_directories(boost_function INTERFACE include) | |
14 | ||
15 | target_link_libraries(boost_function | |
1e59de90 TL |
16 | INTERFACE |
17 | Boost::assert | |
18 | Boost::bind | |
19 | Boost::config | |
20 | Boost::core | |
21 | Boost::integer | |
22 | Boost::preprocessor | |
23 | Boost::throw_exception | |
24 | Boost::type_index | |
25 | Boost::type_traits | |
26 | Boost::typeof | |
92f5a8d4 | 27 | ) |
1e59de90 TL |
28 | |
29 | if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt") | |
30 | ||
31 | add_subdirectory(test) | |
32 | ||
33 | endif() | |
34 |