CMakeLists.txt 946 B

12345678910111213141516171819202122232425262728293031
  1. # Copyright 2019 Sam Day
  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. # NOTE: CMake support for Boost.lexical_cast is currently experimental at best
  6. # and the interface is likely to change in the future
  7. cmake_minimum_required(VERSION 3.5)
  8. project(BoostLexicalCast LANGUAGES CXX)
  9. add_library(boost_lexical_cast INTERFACE)
  10. add_library(Boost::lexical_cast ALIAS boost_lexical_cast)
  11. target_include_directories(boost_lexical_cast INTERFACE include)
  12. target_link_libraries(boost_lexical_cast
  13. INTERFACE
  14. Boost::array
  15. Boost::assert
  16. Boost::config
  17. Boost::container
  18. Boost::core
  19. Boost::detail
  20. Boost::integer
  21. Boost::math
  22. Boost::numeric_conversion
  23. Boost::range
  24. Boost::static_assert
  25. Boost::throw_exception
  26. Boost::type_traits
  27. )