humanai / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

Need an "additional_outputs" section for rules. #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On Linux (scons), there is a limitation in the scons generator that prevents 
multiple rules from building the same file, and Xcode will also complain (but 
not fail to build).

If you have any tool that updates or adds to a file each time it is run, then 
this 
file will never be cleaned up by a clean step because it can't be specified as 
an 
"output" to the rule (due to the limitation above).  Precompiled header files 
and .PDB debugging output files are examples of these types of output.

So, I propose an additional section for rules where additional outputs can be 
specified that will be cleaned up when a clean is performed, but otherwise 
aren't part of the target's dependency chain.

Original issue reported on code.google.com by gspen...@gmail.com on 19 Aug 2009 at 12:24

GoogleCodeExporter commented 9 years ago

Original comment by gspen...@google.com on 19 Aug 2009 at 12:26

GoogleCodeExporter commented 9 years ago

Original comment by gspen...@google.com on 19 Aug 2009 at 12:28

GoogleCodeExporter commented 9 years ago

Original comment by gspen...@google.com on 19 Aug 2009 at 12:28

GoogleCodeExporter commented 9 years ago

Original comment by sgk@chromium.org on 21 Oct 2009 at 5:40

GoogleCodeExporter commented 9 years ago
Looks like we could live without this for close to three years.

Original comment by thakis@chromium.org on 20 Sep 2012 at 9:34