humanai / gyp

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

linux emitter acts weird if two targets in different gyps have the same name #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
beng was trying to have app.gyp:app and chrome.gyp:app, one was a library, 
one an executable that used the library. This caused inconsistent behavior 
on some machines and some builds. Also it is not clear how you would build 
only one module at the command line.

We should either fix this, or detect it and complain on all the generators.

Original issue reported on code.google.com by bradnel...@google.com on 17 May 2009 at 5:46

GoogleCodeExporter commented 9 years ago
We should document this as a restriction and print error messages if it occurs. 

Similarly, Visual Studio can't have files with the same name in different 
directories 
within a single project.  We have to restrict ourselves to 
lowest-common-denominator 
features that can be implemented in all generators.

Original comment by sgk@chromium.org on 6 Aug 2009 at 5:59

GoogleCodeExporter commented 9 years ago

Original comment by sgk@chromium.org on 18 Aug 2009 at 8:09