1

Every time I launch make (generated from CMake), each build step is introduced with multiple lines formatted this way:

[100%] Built target foobar Linking CXX executable ../../bin/foobar make[2]: quittant le répertoire « /home/me/git/master/build/debug » 

That goes from 0% up to 100%. So every time I launch make, it outputs a lot of lines. A lot. That's very verbose and warnings get lost in the process.

How can I ask CMake to remove all that, and generate Makefiles that will get make to output only the compiler output?

2
  • 1
    make > /dev/null, you still get compiler error messages printed out since they go to stderr. Commented Mar 21, 2014 at 12:45
  • @virtus Indeed it works. I feel dump. I was thinking that gcc was outputing that on the standard output... as long as it is not gcc's internal error. Make an answer, I'll be glad to accept it. Commented Mar 21, 2014 at 13:02

1 Answer 1

2

Just do:

make > /dev/null 

You still get compiler error messages printed out since they go to stderr.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.