# Quiet Make Output for Normal Builds

**URL:** https://discourse.cmake.org/t/quiet-make-output-for-normal-builds/6716
**Category:** Code
**Tags:** gen:makefiles
**Created:** [October 25, 2022, 1:00am UTC](https://discourse.cmake.org/t/quiet-make-output-for-normal-builds/6716 "2022-10-25T01:00:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Drue\_Peters](https://discourse.cmake.org/user_avatar/discourse.cmake.org/drue_peters/32/2629_2.png) [@Drue\_Peters](https://discourse.cmake.org/u/Drue_Peters)
#### Post date: [October 25, 2022, 1:00am UTC](https://discourse.cmake.org/t/quiet-make-output-for-normal-builds/6716/1 "2022-10-25T01:00:34Z")

</div>

Hello,

I’ve Googled and can’t find any answers on this.  
How do I keep Make, when generated from CMake, from outputing text like:

```auto
Consolidate compiler generated dependencies of target
[29%] Built target Target
Building CXX object object.cpp.o

```

We’re using Ninja and CMake. Ninja shows the status, but it’s in a single line. Make, however, is incredibly noisy because of how these messages are being output.

---

<div class="post-metadata">

### Author: ![Angew](https://discourse.cmake.org/user_avatar/discourse.cmake.org/angew/32/229_2.png) [@Angew](https://discourse.cmake.org/u/Angew)
#### Post date: [October 25, 2022, 10:43am UTC](https://discourse.cmake.org/t/quiet-make-output-for-normal-builds/6716/2 "2022-10-25T10:43:23Z")

</div>

There is a [global property `RULE_MESSAGES`](https://cmake.org/cmake/help/latest/prop_gbl/RULE_MESSAGES.html), potentially initialsed by cache variable `CMAKE_RULE_MESSAGES`, which controls these outputs in the Makefile generator.

So if you want to disable this output form CMake command line, pass `-DCMAKE_RULE_MESSAGES=OFF` to `cmake` when generating. If you want to always turn this off in your project, you can set the global property: `set_property(GLOBAL PROPERTY RULE_MESSAGES OFF)`

---

<div class="post-metadata">

### Author: ![Drue\_Peters](https://discourse.cmake.org/user_avatar/discourse.cmake.org/drue_peters/32/2629_2.png) [@Drue\_Peters](https://discourse.cmake.org/u/Drue_Peters)
#### Post date: [October 25, 2022, 1:49pm UTC](https://discourse.cmake.org/t/quiet-make-output-for-normal-builds/6716/3 "2022-10-25T13:49:04Z")

</div>

This is incredibly helpful. Where did you find this? It’s possible my Google terms were off.

---

<div class="post-metadata">

### Author: ![Angew](https://discourse.cmake.org/user_avatar/discourse.cmake.org/angew/32/229_2.png) [@Angew](https://discourse.cmake.org/u/Angew)
#### Post date: [October 25, 2022, 3:27pm UTC](https://discourse.cmake.org/t/quiet-make-output-for-normal-builds/6716/4 "2022-10-25T15:27:59Z")

</div>

> [@Drue\_Peters](#):
>
> Where did you find this?

I had a faint memory that I encountered something like this once. So I went and looked through the list of variables and the list of properties to see if something’s there, and indeed there was.
