summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-19 18:35:53 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-19 18:35:53 (GMT)
commitdd6122c6f56105cdaad92c9e1a98127e1e60b3aa (patch)
tree928941c6d7cb49a7a4693bc3d86d4d30513f48b8 /Source
parentf5c6dfcb1cf767c9196bc0e888af6e82273aa1ab (diff)
downloadCMake-dd6122c6f56105cdaad92c9e1a98127e1e60b3aa.zip
CMake-dd6122c6f56105cdaad92c9e1a98127e1e60b3aa.tar.gz
CMake-dd6122c6f56105cdaad92c9e1a98127e1e60b3aa.tar.bz2
Add a way to check if run command output is disabled
Diffstat (limited to 'Source')
-rw-r--r--Source/cmSystemTools.h1
1 files changed, 1 insertions, 0 deletions
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
/**