diff options
author | Dmitry Ivanov <dmitry.ivanov@king.com> | 2016-04-06 10:55:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-04-07 13:45:29 (GMT) |
commit | f9644a2d1b52fb566bdad9a7211a86a167d73859 (patch) | |
tree | 771d49321b8b201ffb38681c7c21d084d46ff0c6 /Source/cmNinjaNormalTargetGenerator.cxx | |
parent | 24c9106b7b2c3729985b89b06a2732ee3f555022 (diff) | |
download | CMake-f9644a2d1b52fb566bdad9a7211a86a167d73859.zip CMake-f9644a2d1b52fb566bdad9a7211a86a167d73859.tar.gz CMake-f9644a2d1b52fb566bdad9a7211a86a167d73859.tar.bz2 |
cmGlobalNinjaGenerator: Clarify logic for forcing use of response files
Update the WriteBuild method to use a negative command line length limit
to specify that we should force use of response files.
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaNormalTargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx index 54cacef..322f37d 100644 --- a/Source/cmNinjaNormalTargetGenerator.cxx +++ b/Source/cmNinjaNormalTargetGenerator.cxx @@ -697,7 +697,7 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement() cmGlobalNinjaGenerator& globalGen = *this->GetGlobalGenerator(); - int commandLineLengthLimit = 1; + int commandLineLengthLimit = -1; if (!this->ForceResponseFile()) { commandLineLengthLimit = calculateCommandLineLengthLimit( |