TimorousBestie 5 days ago

All of my projects GLOB source files, headers, and test source with CONFIGURE_DEPENDS. Haven’t had a problem yet.

1
sorenjan 5 days ago

Yet you won't find a CMake best practices text that won't mention how bad globbing is.

HelloNurse 5 days ago

There'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 5 days ago

True. But I don't think CMake has ever been accused to be well designed.

kevin_thibedeau 5 days ago

You don't notice it on an SSD but glob hits spinning drives hard.