• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2019 Peter Dimov
2# Distributed under the Boost Software License, Version 1.0.
3# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
4
5# Partial (add_subdirectory only) and experimental CMake support
6# Subject to change; please do not rely on the contents of this file yet
7
8cmake_minimum_required(VERSION 3.5)
9project(BoostFunction LANGUAGES CXX)
10
11add_library(boost_function INTERFACE)
12add_library(Boost::function ALIAS boost_function)
13
14target_include_directories(boost_function INTERFACE include)
15
16target_link_libraries(boost_function
17    INTERFACE
18        Boost::assert
19        Boost::bind
20        Boost::config
21        Boost::core
22        Boost::integer
23        Boost::preprocessor
24        Boost::throw_exception
25        Boost::type_index
26        Boost::type_traits
27        Boost::typeof
28)
29