# Omit only cmake system files in CMAKE\_SUPPRESS\_REGENERATION

**URL:** https://discourse.cmake.org/t/omit-only-cmake-system-files-in-cmake-suppress-regeneration/3414
**Category:** Development
**Tags:** gen:ninja
**Created:** [May 26, 2021, 8:59am UTC](https://discourse.cmake.org/t/omit-only-cmake-system-files-in-cmake-suppress-regeneration/3414 "2021-05-26T08:59:01Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![FROMAGMA](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/f/bbce88/32.png) [@FROMAGMA](https://discourse.cmake.org/u/FROMAGMA)
#### Post date: [May 26, 2021, 8:59am UTC](https://discourse.cmake.org/t/omit-only-cmake-system-files-in-cmake-suppress-regeneration/3414/1 "2021-05-26T08:59:01Z")

</div>

Hi,

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

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [May 26, 2021, 11:05am UTC](https://discourse.cmake.org/t/omit-only-cmake-system-files-in-cmake-suppress-regeneration/3414/2 "2021-05-26T11:05:32Z")

</div>

I don’t think this is possible right now. Please file [a feature request](https://gitlab.kitware.com/cmake/cmake/-/issues) for this.

---

<div class="post-metadata">

### Author: ![FROMAGMA](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/f/bbce88/32.png) [@FROMAGMA](https://discourse.cmake.org/u/FROMAGMA)
#### Post date: [May 26, 2021, 11:15am UTC](https://discourse.cmake.org/t/omit-only-cmake-system-files-in-cmake-suppress-regeneration/3414/3 "2021-05-26T11:15:42Z")

</div>

Hi,

can you do this for me?  
I don’t have an account there.

Best regards  
Frank

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [May 26, 2021, 11:49am UTC](https://discourse.cmake.org/t/omit-only-cmake-system-files-in-cmake-suppress-regeneration/3414/4 "2021-05-26T11:49:35Z")

</div>

Sorry, but no, I won’t do that because I have no interest in such a feature myself and as such have no time to devote to any evolution of the feature request either. It is much better to have someone who is actually interested in the feature to be involved in any discussion that may occur.

That said, our GitLab instance accepts creating logins via a variety of other sites (including GitHub if you have one).

---

<div class="post-metadata">

### Author: ![FROMAGMA](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/f/bbce88/32.png) [@FROMAGMA](https://discourse.cmake.org/u/FROMAGMA)
#### Post date: [May 26, 2021, 11:52am UTC](https://discourse.cmake.org/t/omit-only-cmake-system-files-in-cmake-suppress-regeneration/3414/5 "2021-05-26T11:52:41Z")

</div>

Hi,

Ok no problem, if GitHub works then I can try it.

Thank you  
Frank
