2 ms·
CMake can detect when new source files are added and rerun itself. You need to know how to spell that option when globbing though.
by humanrebar 3y ago
CMake can detect when new source files are added and rerun itself. You need to know how to spell that option when globbing though.
- ndiddy 3y agoFrom the cmake documentation: > The CONFIGURE_DEPENDS flag may not work reliably on all generators, or if a new generator is added in the future that cannot support it, projects using it will be stuck. Even if CONFIGURE_DEPENDS works reliably, there is still a cost to perform the check on every rebuild.