• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2018 Mike Dev
2# Copyright 2019 Peter Dimov
3# Distributed under the Boost Software License, Version 1.0.
4# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
5
6cmake_minimum_required(VERSION 3.5...3.16)
7
8project(boost_move VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
9
10add_library(boost_move INTERFACE)
11add_library(Boost::move ALIAS boost_move)
12
13target_include_directories(boost_move INTERFACE include)
14
15target_link_libraries(boost_move
16  INTERFACE
17    Boost::assert
18    Boost::config
19    Boost::core
20    Boost::static_assert
21)
22
23if(BOOST_SUPERPROJECT_VERSION)
24
25  include(BoostInstall)
26  boost_install(TARGETS boost_move HEADER_DIRECTORY include/)
27
28endif()
29
30if(BUILD_TESTING)
31
32  add_subdirectory(test)
33
34endif()
35