Ninja: win fixes: escape back slash/colon, use cd. as cmd.exe nop

This commit is contained in:
Peter Kuemmel
2012-02-18 08:07:11 +01:00
parent 5d19e8aa6a
commit 7fb2bb3e8b
4 changed files with 21 additions and 7 deletions
+4
View File
@@ -172,6 +172,10 @@ cmNinjaNormalTargetGenerator
i != linkCmds.end();
++i)
{
#ifdef _WIN32
// HACK: no TARGET_IMPLIB here???
cmSystemTools::ReplaceString(*i, "/implib:", "");
#endif
this->GetLocalGenerator()->ExpandRuleVariables(*i, vars);
}
linkCmds.insert(linkCmds.begin(), "$PRE_LINK");