summaryrefslogtreecommitdiff
path: root/Source/cmNinjaNormalTargetGenerator.h
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-06-05 22:39:42 +0200
committerPeter Kuemmel <syntheticpp@gmx.net>2012-06-05 22:39:42 +0200
commitad4a768d59bc1d224ef097ff0724b8d5bfaa8128 (patch)
tree051e0a8357ad015a13bb28e6c850a450d1b9566d /Source/cmNinjaNormalTargetGenerator.h
parent7687d557dc9a04c56ca9d9e943ff8e21ac8eb028 (diff)
downloadcmake-ad4a768d59bc1d224ef097ff0724b8d5bfaa8128.tar.gz
Ninja: add response file support on Windows
When MinGW is used slashes are used for dependencies because ar.exe can't read rsp files with backslashes. Many thx to Claus Klein for starting working on this.
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.h')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.h b/Source/cmNinjaNormalTargetGenerator.h
index 7acbe8f6f7..3be1c94e1e 100644
--- a/Source/cmNinjaNormalTargetGenerator.h
+++ b/Source/cmNinjaNormalTargetGenerator.h
@@ -30,7 +30,7 @@ private:
std::string LanguageLinkerRule() const;
const char* GetVisibleTypeName() const;
void WriteLanguagesRules();
- void WriteLinkRule();
+ void WriteLinkRule(bool useResponseFile);
void WriteLinkStatement();
void WriteObjectLibStatement();
std::vector<std::string> ComputeLinkCmd();