]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/atomic/test/test_cmake/CMakeLists.txt
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / atomic / test / test_cmake / CMakeLists.txt
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 https://www.boost.org/LICENSE_1_0.txt
4 #
5 # NOTE: This does NOT run the unit tests for Boost.Atomic.
6 # It only tests, if the CMakeLists.txt file in it's root works as expected
7
8 cmake_minimum_required( VERSION 3.5 )
9
10 project( BoostAtomicCMakeSelfTest )
11
12 add_definitions( -DBOOST_ALL_NO_LIB )
13
14 add_subdirectory( ../../../assert ${CMAKE_CURRENT_BINARY_DIR}/libs/assert )
15 add_subdirectory( ../../../config ${CMAKE_CURRENT_BINARY_DIR}/libs/config )
16 add_subdirectory( ../../../static_assert ${CMAKE_CURRENT_BINARY_DIR}/libs/static_assert )
17 add_subdirectory( ../../../type_traits ${CMAKE_CURRENT_BINARY_DIR}/libs/type_traits )
18
19 add_subdirectory( ../.. ${CMAKE_CURRENT_BINARY_DIR}/libs/boost_atomic )
20
21 add_executable( boost_atomic_cmake_self_test main.cpp )
22 target_link_libraries( boost_atomic_cmake_self_test Boost::atomic )