suriab / gyp

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

Improve extension handling in xcode generator #73

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the xcode generator makes a range of assumptions regarding file 
extensions. It contains hardcoded lists of extensions like .c .cpp .h .m .s 
etc. 
To work around the need to support .S (note capital), for nacl we have 
perpetuated the ad-hoc handling of extensions by lowercasing extensions 
before deciding how to handle them. Ideally we should do something more 
clever.

Original issue reported on code.google.com by bradnel...@google.com on 2 Sep 2009 at 9:56

GoogleCodeExporter commented 9 years ago
SCons also has a hard-coded list of extensions.  In contrast, Visual Studio 
takes the approach of explicitly 
knowing what *to* build and assuming everything else is unprocessed.

(A more aggressive solution might make this configurable in the GYP files, but 
that would be hairy and probably 
more a theoretical than practical problem.)

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