View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001037CMakepublic2004-08-08 12:522005-06-20 12:24
ReporterDavid Somers 
Assigned ToKen Martin 
PriorityurgentSeverityminorReproducibilityunable to reproduce
StatusclosedResolutionunable to reproduce 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001037: GENERATED not set for all outputs of a custom command
DescriptionWhen using ADD_CUSTOM_COMMAND, the GENERATED flag is automatically set for file specified in the OUTPUT. But, if multipe files are specified in OUTPUT, the GENERATED flag is only set on the last file instead of all of them.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0002302)
Bill Hoffman (manager)
2005-04-05 16:30

Is this fixed Ken?
(0002516)
Ken Martin (developer)
2005-06-20 12:24

As far as I know this is fixed. The new signature for add custom command (as of Cmake 1.8 I think) does not support more than one output. The OUTPUTS (different from OUTPUT) keyword is still there for backwards compatibility but it isn't how it is supposed to be used. All it does is call the single output signature in a loop for all outputs but with some odd compatibility tests. And AddCustomCommandToOutput always sets the output to be e GENERATED. I would need an example showing the failure (or at least the call) to go further.

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team