From dd6122c6f56105cdaad92c9e1a98127e1e60b3aa Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 19 Sep 2002 14:35:53 -0400 Subject: Add a way to check if run command output is disabled --- Source/cmSystemTools.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 7ec22d2..422bfc6 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -286,6 +286,7 @@ public: static void DisableMessages() { s_DisableMessages = true; } static void DisableRunCommandOutput() {s_DisableRunCommandOutput = true; } static void EnableRunCommandOutput() {s_DisableRunCommandOutput = false; } + static bool GetRunCommandOutput() { return s_DisableRunCommandOutput; } protected: // these two functions can be called from ConvertToOutputPath /** -- cgit v0.12