CMakeLists.txt 813 B

123456789101112131415161718192021222324252627
  1. # Copyright 2018 Peter Dimov
  2. # Copyright 2018 Andrey Semashev
  3. # Distributed under the Boost Software License, Version 1.0.
  4. # See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt
  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. cmake_minimum_required(VERSION 3.5)
  8. project(BoostUtility LANGUAGES CXX)
  9. add_library(boost_utility INTERFACE)
  10. add_library(Boost::utility ALIAS boost_utility)
  11. target_include_directories(boost_utility INTERFACE include)
  12. target_link_libraries(boost_utility
  13. INTERFACE
  14. Boost::config
  15. Boost::container_hash
  16. Boost::core
  17. Boost::preprocessor
  18. Boost::static_assert
  19. Boost::throw_exception
  20. Boost::type_traits
  21. )