MantisBT - CMake
View Issue Details
0008846CMakeCMakepublic2009-04-06 10:042016-06-10 14:30
Alexandre Feblot 
Bill Hoffman 
normalfeatureN/A
closedmoved 
 
 
0008846: One more level of makefile verbosity
CMAKE_VERBOSE_MAKEFILE triggers the display of both cmake-related commands (depends, color display, progress) and build real build commands.
Most of the time, we just want to see the real build command, and everything else is just noise (lots of noise).

There could be 2 different variables to set the display of these commands:
   - CMAKE_VERBOSE_CMAKE_MAKEFILE: display cmake related commands
   - CMAKE_VERBOSE_MAKE_MAKEFILE : display build related commands
No tags attached.
Issue History
2009-04-06 10:04Alexandre FeblotNew Issue
2009-04-06 10:12Bill HoffmanStatusnew => assigned
2009-04-06 10:12Bill HoffmanAssigned To => Bill Hoffman
2009-04-06 10:12Bill HoffmanNote Added: 0015922
2009-04-06 11:25Alexandre FeblotNote Added: 0015933
2010-05-09 04:35Alex NeundorfNote Added: 0020673
2016-06-10 14:27Kitware RobotNote Added: 0041537
2016-06-10 14:27Kitware RobotStatusassigned => resolved
2016-06-10 14:27Kitware RobotResolutionopen => moved
2016-06-10 14:30Kitware RobotStatusresolved => closed

Notes
(0015922)
Bill Hoffman   
2009-04-06 10:12   
This would be very hard to implement. But, if you have any ideas, I would be willing to look at a patch.
(0015933)
Alexandre Feblot   
2009-04-06 11:25   
I don't feel able yet to patch cmake myself, but my idea was that by a mean or another, cmake obviously must know the rules which it generates for itself:
   - cd xxxxx && cmake -P CMakeFiles/xxx.dir/cmake_clean_target.cmake
   - cd xxxxx && cmake -E cmake_link_script CMakeFiles/xxx.dir/link.txt
   - cd xxxxx && cmake -E cmake_depends "Unix Makefiles"
   - cd xxxxx && cmake -E cmake_progress_report

Anything else, inclufing custom commands is build-related.

I forgot to mention, and I only think about it now, because you say it would be hard that maybe including or not cmake command display in makefile could be decided at makefile generation time only, once for all, and not dynamically when running make. This would probably make things much easier?
(0020673)
Alex Neundorf   
2010-05-09 04:35   
If you set the environment variable CMAKE_NO_VERBOSE to 1 while building, cmake itself will not print its dependency scanning output:
$ make VERBOSE=1 CMAKE_NO_VERBOSE=1 make

Good enough ?

Alex
(0041537)
Kitware Robot   
2016-06-10 14:27   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.