diff options
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 9e7fc35..e9f9f29 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -287,9 +287,13 @@ public: static void EnableMessages() { s_DisableMessages = false; } static void DisableMessages() { s_DisableMessages = true; } + static void DisableRunCommandOutput() {s_DisableRunCommandOutput = true; } + static void EnableRunCommandOutput() {s_DisableRunCommandOutput = false; } + private: static bool s_ErrorOccured; static bool s_DisableMessages; + static bool s_DisableRunCommandOutput; static ErrorCallback s_ErrorCallback; }; |