What steps will reproduce the problem?
1. use gyp generate windows sln % vcproj file(use --format=msvs)
2. all the vcproj generate in the root dir.(with path and "\\" as file name
prefix
3. Want get path1/path2/my.vcproj, but get "path1\\path2\\my.vcproj" file in
root
What is the expected output? What do you see instead?
Want get path1/path2/my.vcproj, but get "path1\\path2\\my.vcproj" file in root
What version of the product are you using? On what operating system?
Lastest version
Please provide any additional information below.
Below patch work well
svn diff gyp/pylib/gyp/generator/msvs.py
Index: gyp/pylib/gyp/generator/msvs.py
===================================================================
--- gyp/pylib/gyp/generator/msvs.py (revision 930)
+++ gyp/pylib/gyp/generator/msvs.py (working copy)
@@ -1570,7 +1570,7 @@
build_file = gyp.common.BuildFile(qualified_target)
# Create object for this project.
obj = MSVSNew.MSVSProject(
- _FixPath(proj_path),
+ proj_path, # _FixPath(proj_path),
name=spec['target_name'],
guid=guid,
spec=spec,
Original issue reported on code.google.com by lrobot...@gmail.com on 20 Jun 2011 at 3:46
Original issue reported on code.google.com by
lrobot...@gmail.com
on 20 Jun 2011 at 3:46