Thursday, October 16, 2014

Verbose Build options Autotools and CMake

Recent versions of AutoTools has a AM_SILENT_RULES setting that some devs turn on by default. This cleans up your make output but then doesn't tell you what command was actually ran that caused the error.  Making debugging hard.  CMake suppresses make output by default.

To disable this when you run make for each:

CMake: make VERBOSE=1
Autotools: make V=1

Cheers to easier debugging.

No comments:

Post a Comment