summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-11-19 22:52:08 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-11-19 22:52:08 (GMT)
commitda17f30cb515775000ec7dd1d3fab8b3621c2587 (patch)
tree9548b3afab27b95fb4defa16b17aadfd02654d1a /Source/cmSystemTools.h
parent4d5f9deb00f851477258da139cde8362d14674c4 (diff)
downloadCMake-da17f30cb515775000ec7dd1d3fab8b3621c2587.zip
CMake-da17f30cb515775000ec7dd1d3fab8b3621c2587.tar.gz
CMake-da17f30cb515775000ec7dd1d3fab8b3621c2587.tar.bz2
ENH: add new command VARIABLE_REQUIRES for better debugging of list files
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index f382493..b24e681 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -285,8 +285,11 @@ public:
///! change directory the the directory specified
static int ChangeDirectory(const char* dir);
+ static void EnableMessages() { s_DisableMessages = false; }
+ static void DisableMessages() { s_DisableMessages = true; }
private:
static bool s_ErrorOccured;
+ static bool s_DisableMessages;
static ErrorCallback s_ErrorCallback;
};