yuhangwang / gyp

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

Ninja generator does not support MSVS TargetDir macro. #492

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate a GYP file using the TargetDir macro.
2. Run gyp in Ninja mode.
3. Execute the ninja build.
4. Enjoy following error: bad $-escape (literal $ must be > written as $$)

What is the expected output? What do you see instead?

I would expect the macro to have been replaced with the directory of the 
primary output file (see 
https://msdn.microsoft.com/en-us/library/c02as0cs.aspx), and the build to 
succeed.

See also https://code.google.com/p/gyp/issues/detail?id=462

Original issue reported on code.google.com by artem....@gmail.com on 8 Jun 2015 at 11:10

Attachments: