]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/timer/test/cmake_subdir_test/CMakeLists.txt
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / timer / test / cmake_subdir_test / CMakeLists.txt
1 # Copyright 2018-2021 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
5 cmake_minimum_required(VERSION 3.5...3.20)
6
7 project(cmake_subdir_test LANGUAGES CXX)
8
9 add_subdirectory(../.. boostorg/timer)
10
11 set(deps
12
13 # Primary dependencies
14 chrono
15 config
16 core
17 io
18 predef
19 system
20 throw_exception
21
22 # Secondary dependencies
23 assert
24 integer
25 move
26 mpl
27 ratio
28 static_assert
29 type_traits
30 typeof
31 utility
32 winapi
33 variant2
34 preprocessor
35 rational
36 mp11
37 )
38
39 foreach(dep IN LISTS deps)
40
41 add_subdirectory(../../../${dep} boostorg/${dep})
42
43 endforeach()
44
45 add_executable(main main.cpp)
46 target_link_libraries(main Boost::timer Boost::core)
47
48 enable_testing()
49 add_test(main main)