Skip to content

Commit 895039f

Browse files
committed
Update dependencies in cmake_subdir_test
1 parent fcabdd5 commit 895039f

1 file changed

Lines changed: 26 additions & 1 deletion

File tree

test/cmake_subdir_test/CMakeLists.txt

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,32 @@ cmake_minimum_required(VERSION 3.5...3.31)
77
project(cmake_subdir_test LANGUAGES CXX)
88

99
add_subdirectory(../.. boostorg/circular_buffer)
10-
add_subdirectory(../../../config boostorg/config)
10+
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()
1136

1237
add_executable(main main.cpp)
1338
target_link_libraries(main Boost::circular_buffer)

0 commit comments

Comments
 (0)