diff options
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 3 |
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; }; |