View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008846CMakeCMakepublic2009-04-06 10:042016-06-10 14:30
ReporterAlexandre Feblot 
Assigned ToBill Hoffman 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0008846: One more level of makefile verbosity
DescriptionCMAKE_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
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0015922)
Bill Hoffman (manager)
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 (reporter)
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 (developer)
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 (administrator)
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.

 Issue History
Date Modified Username Field Change
2009-04-06 10:04 Alexandre Feblot New Issue
2009-04-06 10:12 Bill Hoffman Status new => assigned
2009-04-06 10:12 Bill Hoffman Assigned To => Bill Hoffman
2009-04-06 10:12 Bill Hoffman Note Added: 0015922
2009-04-06 11:25 Alexandre Feblot Note Added: 0015933
2010-05-09 04:35 Alex Neundorf Note Added: 0020673
2016-06-10 14:27 Kitware Robot Note Added: 0041537
2016-06-10 14:27 Kitware Robot Status assigned => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:30 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team