Skip to content

Replace CONFIGURE_DEPENDS with BOOST_CONFIGURE_DEPENDS - #138

Open
cdglove wants to merge 1 commit into
boostorg:developfrom
cdglove:develop
Open

cdglove wants to merge 1 commit into
boostorg:developfrom
cdglove:develop

Conversation

@cdglove

@cdglove cdglove commented Oct 30, 2026

Copy link
Copy Markdown

When file(GLOB ... CONFIGURE_DEPENDS) or file(GLOB_RECURSE ... CONFIGURE_DEPENDS) is evaluated, CMake's make style generators create a verification script (VerifyGlobs.cmake) that gets run on every build, outputting "Re-checking globbed directories....". This can cause a a noticeable delay on incremental builds.

Since the headers are only needed for IDE project navigation, limiting this check to that use case is a good compromise.

@cdglove
cdglove requested a review from jll63 as a code owner October 30, 2026 11:19
@cppalliance-bot

cppalliance-bot commented Oct 30, 2026 •

Copy link
Copy Markdown

An automated preview of the documentation is available at https://138.openmethod.prtest3.cppalliance.org/libs/openmethod/doc/html/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2026-10-31 22:17:17 UTC

@sehe

sehe commented Oct 30, 2026

Copy link
Copy Markdown

I asked a question about the validity of the reasoning here boostorg/assert#49 (comment)

Allows projects building boost via add_subdirectory to avoid the cost
of GLOB on every build.
@cdglove cdglove changed the title Only GLOB headers when generating Visual Studio projects Replace CONFIGURE_DEPENDS with BOOST_CONFIGURE_DEPENDS Oct 31, 2026
@cdglove

cdglove commented Nov 1, 2026

Copy link
Copy Markdown
Author

Updated as per discussion on the mailing list and integrated into the assert library.

https://lists.boost.org/archives/list/boost@lists.boost.org/thread/LKPFNC3AMPIVWRAE75EFMYRMS6AL6MV4/

boostorg/assert#49

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants