Repository navigation
Conversation
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.
|
GCOVR code coverage report https://1015.url.prtest2.cppalliance.org/gcovr/index.html Build time: 2026-10-31 22:24:18 UTC |
|
An automated preview of the documentation is available at https://1015.url.prtest2.cppalliance.org/index.html If more commits are pushed to the pull request, the docs will rebuild at the same URL. 2026-10-31 22:19:39 UTC |
|
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.
|
As a heads-up, I've been following the discussion on the mailing list, and I'm planning to follow whatever conclusion people reach there. |
|
Decision was taken to leave the GLOB but use BOOST_CONFIGURE_DEPENDS instead of CONFIGURE_DEPENDS. For this particular library I've left the included change that lists the actual sources (as opposed to headers) instead of GLOBing them because I feel that's the right thing to do, but I'm happy to also just replace that with BOOST_CONFIGURE_DEPENDS if that's your preference. |
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.