Reputation: 9026
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 Makefile
s that will get make
to output only the compiler output?
Upvotes: 1
Views: 799
Reputation: 291
Just do:
make > /dev/null
You still get compiler error messages printed out since they go to stderr.
Upvotes: 2