diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-19 18:35:53 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-19 18:35:53 (GMT) |
commit | dd6122c6f56105cdaad92c9e1a98127e1e60b3aa (patch) | |
tree | 928941c6d7cb49a7a4693bc3d86d4d30513f48b8 /Source | |
parent | f5c6dfcb1cf767c9196bc0e888af6e82273aa1ab (diff) | |
download | CMake-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.h | 1 |
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 /** |