Hampeh69 / gyp

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

gyp seems to improperly handle variables with underscores in them #24

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
On windows if an include_dir uses a variable whose name has underscores, the 
contents of the 
variable do not seem to be escaped correctly with regard to backslashes. The 
path is interpreted as 
single \path which causes stray control characters to appear in the generated 
vcproj files.

Original issue reported on code.google.com by bradnel...@google.com on 4 Jun 2009 at 11:40

GoogleCodeExporter commented 8 years ago
Right now we use os.path() in input.py.  This problem would go away if input.py 
(the 
generator-independent stuff) used posixpath so that (like Python itself) all of 
the 
internal manipulation is consistent across all platforms, and the 
platform-specific 
separators were only used in the msvs.py generator itself.

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