Slow cmake glob checks
Open
- Dominant language
- C++
- Stars
- 35
- Forks
- 77
- PR merge metrics
- No merged PRs in 30d
Description
On a cmake project that makes use of boost via `add_subdirectory`, the "Re-checking globbed directories..." stage at the start of the build will occasionally take several tens of seconds. This traces down to the use of `CONFIGURE_DEPENDS` on Boost.Assert and other Boost libraries.
https://github.com/boostorg/assert/blob/af15ced8d04907345a0211dab46557e085960eb7/CMakeLists.txt#L26
Consider disabling `CONFIGURE_DEPENDS` when Boost is used as a dependency, as glob results shouldn't change and re-checking can be costly.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.