diff options
author | Brad King <brad.king@kitware.com> | 2002-12-11 16:49:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-12-11 16:49:08 (GMT) |
commit | d6f98c2a82c693f9f96bd7c515fa4946a375f3ca (patch) | |
tree | 8d5ef7199c1196cbc32e673a4b668b98561f943a /Source/cmSystemTools.h | |
parent | e9e3855c65e9ee32119645d6e4044ba0ee8b8a06 (diff) | |
download | CMake-d6f98c2a82c693f9f96bd7c515fa4946a375f3ca.zip CMake-d6f98c2a82c693f9f96bd7c515fa4946a375f3ca.tar.gz CMake-d6f98c2a82c693f9f96bd7c515fa4946a375f3ca.tar.bz2 |
ENH: Added cmSystemTools::EnableMSVCDebugHook() to prevent error dialogs when CMake is invoked by Dart.
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 190ebdb..0e41691 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -356,6 +356,12 @@ public: */ static void SetRunCommandHideConsole(bool v){s_RunCommandHideConsole = v;} static bool GetRunCommandHideConsole(){ return s_RunCommandHideConsole;} + + /** When building DEBUG with MSVC, this enables a hook that prevents + * error dialogs from popping up if the program is being run from + * DART. + */ + static void EnableMSVCDebugHook(); protected: // these two functions can be called from ConvertToOutputPath /** |