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.
|
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.
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 ofCONFIGURE_DEPENDSon Boost.Assert and other Boost libraries.assert/CMakeLists.txt
Line 26 in af15ced
Consider disabling
CONFIGURE_DEPENDSwhen Boost is used as a dependency, as glob results shouldn't change and re-checking can be costly.