We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcabdd5 commit 895039fCopy full SHA for 895039f
1 file changed
test/cmake_subdir_test/CMakeLists.txt
@@ -7,7 +7,32 @@ cmake_minimum_required(VERSION 3.5...3.31)
7
project(cmake_subdir_test LANGUAGES CXX)
8
9
add_subdirectory(../.. boostorg/circular_buffer)
10
-add_subdirectory(../../../config boostorg/config)
+
11
+# boostdep --brief circular_buffer
12
13
+set(deps
14
15
+# Primary dependencies
16
17
+assert
18
+concept_check
19
+config
20
+core
21
+move
22
+throw_exception
23
+type_traits
24
25
+# Secondary dependencies
26
27
+preprocessor
28
29
+)
30
31
+foreach(dep IN LISTS deps)
32
33
+ add_subdirectory(../../../${dep} boostorg/${dep})
34
35
+endforeach()
36
37
add_executable(main main.cpp)
38
target_link_libraries(main Boost::circular_buffer)
0 commit comments