View Issue Details [ Jump to Notes ] | [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0015813 | CMake | CMake | public | 2015-10-27 15:47 | 2016-06-10 14:31 |
|
Reporter | Chris Green | |
Assigned To | Kitware Robot | |
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | moved | |
Platform | Apple Mac | OS | OS X | OS Version | 10.4.10 |
Product Version | CMake 3.3.2 | |
Target Version | | Fixed in Version | | |
|
Summary | 0015813: add_custom_command(COMMENT) force a newline in ninja printout |
Description | Under normal circumstances (built-in targets and build commands, for instance), ninja puts out to a terminal a line of the form:
[n/M] <message>
Which is overwritten unless there is output from the command. In the case of a COMMENT message such as COMMENT "Doing important stuff" to an add_custom_command, however, a newline at the end of the message is printed rather than having the next progress message overwrite it. |
Steps To Reproduce | Add a custom command whose COMMAND produces no output. Attach it to a target with the ALL option activated and then run CMake with the Ninja generator. Activate ninja and watch the progress print behavior. Then, add a COMMENT to the custom command definition and observe the behavior when ninja is rerun. |
Additional Information | This behavior was observed with ninja 1.6.0.
This behavior has not been tested with add_custom_target(COMMENT ...). |
Tags | No tags attached. |
|
Attached Files | |
|