Omit only cmake system files in CMAKE_SUPPRESS_REGENERATION
We use cmake 3.20.0 with ninja 1.9. By set(CMAKE_SUPPRESS_REGENERATION ON) ninja omits checking if build system has changed. Is there a possibility to omit only the cmake system files from that, but keeping track of all CMakeLists.txt and all *.cmake files in project?
Usually the install folder with cmake is constant (no changes at all, at least in our environment), so that the checks for changes could be omitted (by a special flag?). Nevertheless, we need the “comfort” that if CMakeLists.txt changes, ninja calls reconfigure automatically.
Best regards Frank