file
http://man.hubwiz.com › commandfile(GLOB <variable> [LIST_DIRECTORIES true|false] [RELATIVE <path>] ... If any of the outputs change, CMake will regenerate the build system.
[CMake] file(GLOB …)
cmake.org › pipermail › cmake> > If you don't do it, and you use glob instead, then CMake does not know > when you've added or removed files from the file system, and so cannot > re-run automatically when (and only when) necessary. > > To use glob *and* get this sort of behavior, we'd have to institute > some sort of file-system
[CMake] file(GLOB …)
cmake.org › pipermail › cmakeDec 21, 2011 · If you don't do it, and you use glob instead, then CMake does not know when you've added or removed files from the file system, and so cannot re-run automatically when (and only when) necessary. To use glob *and* get this sort of behavior, we'd have to institute some sort of file-system-watcher that's always running.