diff options
author | Christian Pfeiffer <cpfeiffer@live.de> | 2017-04-18 21:06:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-04-19 15:02:24 (GMT) |
commit | bbb5c3efe2a17d046506b7c27008c77ea244f0bc (patch) | |
tree | efa83801c7982bd247727af35fa6e7f15a13aedc /Source/cmSystemTools.h | |
parent | ddd2b02455db9b0ef3604af1b9b10c22af56bff9 (diff) | |
download | CMake-bbb5c3efe2a17d046506b7c27008c77ea244f0bc.zip CMake-bbb5c3efe2a17d046506b7c27008c77ea244f0bc.tar.gz CMake-bbb5c3efe2a17d046506b7c27008c77ea244f0bc.tar.bz2 |
Ninja,Makefile: Unify command line limit logic
Move the logic to cmSystemTools to be shared among the generators.
Revise the implementation and add comments justifying each possible
source for a limit.
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 86d92be..a8a9995 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -253,6 +253,8 @@ public: static void ParseUnixCommandLine(const char* command, std::vector<std::string>& args); + static size_t CalculateCommandLineLengthLimit(); + static void EnableMessages() { s_DisableMessages = false; } static void DisableMessages() { s_DisableMessages = true; } static void DisableRunCommandOutput() { s_DisableRunCommandOutput = true; } |