From 0d2d9c14d7a5c42c676f9d513f559bce293b3a36 Mon Sep 17 00:00:00 2001 From: Chris Glover Date: Fri, 30 Oct 2026 10:50:40 +0000 Subject: [PATCH] Remove BOOST_STATIC_STRING_HEADERS Property is ultimately unused because no target lists these files. The result is that the files don't show up in any IDE project but consumers of the library pay the GLOB cost anyway. --- CMakeLists.txt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bace101..b4139a8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,16 +54,8 @@ endif () # Sources include(GNUInstallDirs) -file(GLOB_RECURSE BOOST_STATIC_STRING_HEADERS CONFIGURE_DEPENDS - include/boost/*.hpp - include/boost/*.ipp - include/boost/*.natvis - ) - set_property(GLOBAL PROPERTY USE_FOLDERS ON) -source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR}/include/boost PREFIX "" FILES ${BOOST_STATIC_STRING_HEADERS}) -source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR}/src PREFIX "" FILES ${BOOST_STATIC_STRING_SOURCES}) - + # Target add_library(boost_static_string INTERFACE) add_library(Boost::static_string ALIAS boost_static_string)