3 ms·
All of my projects GLOB source files, headers, and test source with CONFIGURE_DEPENDS. Haven’t had a problem yet.
by TimorousBestie 2y ago
All of my projects GLOB source files, headers, and test source with CONFIGURE_DEPENDS. Haven’t had a problem yet.
- sorenjan 2y agoYet you won't find a CMake best practices text that won't mention how bad globbing is.
- kevin_thibedeau 2y agoYou don't notice it on an SSD but glob hits spinning drives hard.
- HelloNurse 2y agoThere's the traditional criminal behaviour of CMake: setting a variable to a globbed set of files ONCE and obliviously caching the value ever after. A build system where it is possible cannot claim to be well designed.
- gpderetta 2y agoTrue. But I don't think CMake has ever been accused to be well designed.