From 895039f821e7e46f6ac49ec497536bcd20800d01 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 3 Feb 2026 14:33:33 +0200 Subject: [PATCH] Update dependencies in cmake_subdir_test --- test/cmake_subdir_test/CMakeLists.txt | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/test/cmake_subdir_test/CMakeLists.txt b/test/cmake_subdir_test/CMakeLists.txt index 5d9690a..70b11d4 100644 --- a/test/cmake_subdir_test/CMakeLists.txt +++ b/test/cmake_subdir_test/CMakeLists.txt @@ -7,7 +7,32 @@ cmake_minimum_required(VERSION 3.5...3.31) project(cmake_subdir_test LANGUAGES CXX) add_subdirectory(../.. boostorg/circular_buffer) -add_subdirectory(../../../config boostorg/config) + +# boostdep --brief circular_buffer + +set(deps + +# Primary dependencies + +assert +concept_check +config +core +move +throw_exception +type_traits + +# Secondary dependencies + +preprocessor + +) + +foreach(dep IN LISTS deps) + + add_subdirectory(../../../${dep} boostorg/${dep}) + +endforeach() add_executable(main main.cpp) target_link_libraries(main Boost::circular_buffer)