summaryrefslogtreecommitdiffstats
path: root/Source/cmw9xcom.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-12-11 16:49:08 (GMT)
committerBrad King <brad.king@kitware.com>2002-12-11 16:49:08 (GMT)
commitd6f98c2a82c693f9f96bd7c515fa4946a375f3ca (patch)
tree8d5ef7199c1196cbc32e673a4b668b98561f943a /Source/cmw9xcom.cxx
parente9e3855c65e9ee32119645d6e4044ba0ee8b8a06 (diff)
downloadCMake-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/cmw9xcom.cxx')
-rw-r--r--Source/cmw9xcom.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmw9xcom.cxx b/Source/cmw9xcom.cxx
index 33f474b..cb41719 100644
--- a/Source/cmw9xcom.cxx
+++ b/Source/cmw9xcom.cxx
@@ -20,6 +20,7 @@
// this is a test driver program for cmake.
int main (int argc, char *argv[])
{
+ cmSystemTools::EnableMSVCDebugHook();
if ( argc <= 1 )
{
std::cerr << "Usage: " << argv[0] << " executable" << std::endl;