diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-11-26 23:28:27 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-11-26 23:28:27 (GMT) |
commit | eecf4b9cbf86e64d48f0fa3eb3eb622cb5d366b0 (patch) | |
tree | b363ca85f505b2cd720700bcb71fa47f45459346 /Source/cmSystemTools.cxx | |
parent | 3e24edcd04234c20a5c3045a7af9ff482fd61a45 (diff) | |
download | CMake-eecf4b9cbf86e64d48f0fa3eb3eb622cb5d366b0.zip CMake-eecf4b9cbf86e64d48f0fa3eb3eb622cb5d366b0.tar.gz CMake-eecf4b9cbf86e64d48f0fa3eb3eb622cb5d366b0.tar.bz2 |
ENH: add advanced variable types and command line wizard gui
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 80a9454..c3cd0cc 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -91,6 +91,7 @@ inline int Chdir(const char* dir) } #endif +bool cmSystemTools::s_DisableRunCommandOutput = false; bool cmSystemTools::s_ErrorOccured = false; bool cmSystemTools::s_DisableMessages = false; @@ -925,6 +926,10 @@ bool cmSystemTools::RunCommand(const char* command, { const int BUFFER_SIZE = 4096; char buffer[BUFFER_SIZE]; + if(s_DisableRunCommandOutput) + { + verbose = false; + } #if defined(WIN32) && !defined(__CYGWIN__) std::string commandToFile = command; |