CMakeLists.txt 837 B

12345678910111213141516171819202122232425262728
  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. # Partial (add_subdirectory only) and experimental CMake support
  5. # Subject to change; please do not rely on the contents of this file yet
  6. cmake_minimum_required(VERSION 3.5)
  7. project(BoostFunction LANGUAGES CXX)
  8. add_library(boost_function INTERFACE)
  9. add_library(Boost::function ALIAS boost_function)
  10. target_include_directories(boost_function INTERFACE include)
  11. target_link_libraries(boost_function
  12. INTERFACE
  13. Boost::assert
  14. Boost::bind
  15. Boost::config
  16. Boost::core
  17. Boost::integer
  18. Boost::preprocessor
  19. Boost::throw_exception
  20. Boost::type_index
  21. Boost::type_traits
  22. Boost::typeof
  23. )