CMakeLists.txt 791 B

1234567891011121314151617181920212223242526
  1. # Copyright 2018 Mike Dev
  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(BoostSmartPtr LANGUAGES CXX)
  8. add_library(boost_smart_ptr INTERFACE)
  9. add_library(Boost::smart_ptr ALIAS boost_smart_ptr)
  10. target_include_directories(boost_smart_ptr INTERFACE include)
  11. target_link_libraries(boost_smart_ptr
  12. INTERFACE
  13. Boost::assert
  14. Boost::config
  15. Boost::core
  16. Boost::move
  17. Boost::predef
  18. Boost::static_assert
  19. Boost::throw_exception
  20. Boost::type_traits
  21. )