mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
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.
This commit is contained in:
committed by
Brad King
parent
ddd2b02455
commit
bbb5c3efe2
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user