• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2018-2020 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
5cmake_minimum_required(VERSION 3.5...3.16)
6
7project(boost_smart_ptr VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
8
9add_library(boost_smart_ptr INTERFACE)
10add_library(Boost::smart_ptr ALIAS boost_smart_ptr)
11
12target_include_directories(boost_smart_ptr INTERFACE include)
13
14target_link_libraries(boost_smart_ptr
15  INTERFACE
16    Boost::assert
17    Boost::config
18    Boost::core
19    Boost::move
20    Boost::static_assert
21    Boost::throw_exception
22    Boost::type_traits
23)
24
25if(BUILD_TESTING)
26
27  add_subdirectory(test)
28
29endif()
30