View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007062CMakeCMakepublic2008-05-20 10:592010-12-20 11:44
Reporterjesperes 
Assigned ToBrad King 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0007062: Customizable make output
DescriptionThere are several problems with the output from make when using cmake's makefile generator:

- It doesn't handle parallell make nicely, the output becomes jumbled.
- The -s flag to make is not obeyed.
- Progress messages can't be switched off.
- Progress messages are often too long.

All of these could be addressed by moving the output management to an external, replacable, utility (optionally, of course). Lets call it a "logproxy". For example:

set(CMAKE_LOGGER_PROXY, /path/to/logproxy)

The logproxy program is then invoked from the makefiles to handle any output (other than from make itself, of course):

main.o:
        @$(LOGPROXY) Building $@
        $(CC) ...

I believe this could be implemented in a completely backwards compatible manner.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0024285)
Brad King (manager)
2010-12-20 11:44

CMake 2.8 supports turning off most of the output:

  http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_global:RULE_MESSAGES [^]

Other than that, the current output is all we want to support. We already jump through lots of hoops to make native make systems do what we need. Getting a logproxy to work cross-platform is non-trivial.

In the future we may implement our own make tool ("cbuild" or something) and a CMake generator for it. For that generator we will be able to have much more customized output without crazy hacks for every make tool.

 Issue History
Date Modified Username Field Change
2008-05-20 10:59 jesperes New Issue
2008-05-20 11:03 Bill Hoffman Status new => assigned
2008-05-20 11:03 Bill Hoffman Assigned To => Ken Martin
2010-12-14 11:19 David Cole Assigned To Ken Martin =>
2010-12-15 06:53 David Cole Assigned To => Brad King
2010-12-20 11:44 Brad King Note Added: 0024285
2010-12-20 11:44 Brad King Status assigned => closed
2010-12-20 11:44 Brad King Resolution open => suspended


Copyright © 2000 - 2018 MantisBT Team