MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0003841 | CMake | CMake | public | 2006-10-04 14:05 | 2016-06-10 14:30 |
| Reporter | Brad King | ||||
| Assigned To | Brad King | ||||
| Priority | low | Severity | feature | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Summary | 0003841: Xcode does not display custom command comments | ||||
| Description | At 05:08 PM 9/29/2006, you wrote: > >Bill Hoffman wrote: >> >> So, it was GetComment on custom command. You made it return null, and >> >> before it returned an empty string, or was never null. This caused some >> >> odd things to happen with the generated file stream. >> >> >> >> generatedfilestream foo(out); >> >> .... >> >> foo << s; >> >> >> >> This will cause no file to be created and no error message. >> >> >> >> So, I added an if around the GetComment(). > > > >Actually the Xcode generator shouldn't be calling this directly anymore. > >It should use ConstructComment: > > > > makefileStream << "\n#" << "Custom command rule: "; > > std::string comment > > = this->CurrentLocalGenerator->ConstructComment(cc); > > if(!comment.empty()) > > { > > makefileStream << comment; > > } > > makefileStream << "\n"; > > > >This is why I didn't need to change the other generators when I made the > >comment change, so I didn't think to look at the Xcode generator. > > > >However it appears from that code that the comment is just put in the > >makefile and has no echo line. Somehow the user should be able to see > >the comment in the build output. Can this be done? I don't think the user sees this stuff, but I am not sure. I will have a look on Monday. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2008-10-09 12:37 | Bill Hoffman | Assigned To | Bill Hoffman => Brad King | ||
| 2012-08-13 10:36 | Brad King | Status | assigned => backlog | ||
| 2012-08-13 10:36 | Brad King | Note Added: 0030498 | |||
| 2016-06-10 14:27 | Kitware Robot | Note Added: 0041323 | |||
| 2016-06-10 14:27 | Kitware Robot | Status | backlog => resolved | ||
| 2016-06-10 14:27 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:30 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||