CMakeLists.txt 750 B

12345678910111213141516171819202122232425
  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(BoostInteger LANGUAGES CXX)
  9. add_library(boost_integer INTERFACE)
  10. add_library(Boost::integer ALIAS boost_integer)
  11. target_include_directories(boost_integer INTERFACE include)
  12. target_link_libraries(boost_integer
  13. INTERFACE
  14. Boost::assert
  15. Boost::config
  16. Boost::core
  17. Boost::static_assert
  18. Boost::throw_exception
  19. )