From e085062390fd2a953de501fa9f0ff80cdddf2c24 Mon Sep 17 00:00:00 2001 From: Alan de Freitas Date: Tue, 20 Jan 2026 16:13:21 -0500 Subject: [PATCH] build(test): group test suite helper targets under Dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The test suite exposes two helper libraries (with and without a main), as with other test libraries, so other modules can choose their own entry point. Keeping both targets is necessary, but they clutter Visual Studio’s solution view. Move these helper targets into the existing Dependencies folder to reduce noise while preserving the separate-linking behavior. fix #955 --- extra/test_suite/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extra/test_suite/CMakeLists.txt b/extra/test_suite/CMakeLists.txt index 5101567b2..7436c20a5 100644 --- a/extra/test_suite/CMakeLists.txt +++ b/extra/test_suite/CMakeLists.txt @@ -25,5 +25,6 @@ add_library(boost_url_test_suite_with_main STATIC test_main.cpp) target_link_libraries(boost_url_test_suite_with_main PUBLIC boost_url_test_suite) target_include_directories(boost_url_test_suite_with_main PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) target_compile_features(boost_url_test_suite_with_main PUBLIC cxx_constexpr) +set_property(TARGET boost_url_test_suite boost_url_test_suite_with_main PROPERTY FOLDER "Dependencies") -include(DiscoverTests.cmake) \ No newline at end of file +include(DiscoverTests.cmake)