diff options
author | Peter Kuemmel <syntheticpp@gmx.net> | 2012-02-18 07:07:11 (GMT) |
---|---|---|
committer | Peter Kuemmel <syntheticpp@gmx.net> | 2012-02-18 07:15:23 (GMT) |
commit | 7fb2bb3e8b0dc7bc718aadc4ab9a74cb7fdb656e (patch) | |
tree | d96a23ef8d6a46a7e291a596875d5d9452a78ab5 /Source/cmNinjaNormalTargetGenerator.cxx | |
parent | 5d19e8aa6aac75fb08897aece8aa5545360aeeb2 (diff) | |
download | CMake-7fb2bb3e8b0dc7bc718aadc4ab9a74cb7fdb656e.zip CMake-7fb2bb3e8b0dc7bc718aadc4ab9a74cb7fdb656e.tar.gz CMake-7fb2bb3e8b0dc7bc718aadc4ab9a74cb7fdb656e.tar.bz2 |
Ninja: win fixes: escape back slash/colon, use cd. as cmd.exe nop
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaNormalTargetGenerator.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx index 4dd6a9b..7cce45b 100644 --- a/Source/cmNinjaNormalTargetGenerator.cxx +++ b/Source/cmNinjaNormalTargetGenerator.cxx @@ -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"); |