-
Notifications
You must be signed in to change notification settings - Fork 74
Slow cmake glob checks #46
Copy link
Copy link
Open
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.
Line 26 in af15ced
| file(GLOB_RECURSE headers CONFIGURE_DEPENDS include/*.hpp) |
Consider disabling CONFIGURE_DEPENDS when Boost is used as a dependency, as glob results shouldn't change and re-checking can be costly.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels