diff options
author | Brad King <brad.king@kitware.com> | 2007-11-16 16:01:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-11-16 16:01:23 (GMT) |
commit | bb1fa4c3f0cdbc625b2bbc04b6f88788f6ccf49f (patch) | |
tree | 5b8b3cbfc2fbd50f98aa272f71f0990ca71f0076 /Source/cmGlobalVisualStudio8Generator.cxx | |
parent | 5cd4f2a6617e9f92e797eb86ca3555b94b5116ea (diff) | |
download | CMake-bb1fa4c3f0cdbc625b2bbc04b6f88788f6ccf49f.zip CMake-bb1fa4c3f0cdbc625b2bbc04b6f88788f6ccf49f.tar.gz CMake-bb1fa4c3f0cdbc625b2bbc04b6f88788f6ccf49f.tar.bz2 |
BUG: Fix exception handling flag translation to be specific to each VS version. This allows /EHa to be handled correctly for VS 2003.
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio8Generator.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx index 3ea9f75..014fcd3 100644 --- a/Source/cmGlobalVisualStudio8Generator.cxx +++ b/Source/cmGlobalVisualStudio8Generator.cxx @@ -286,6 +286,12 @@ static cmVS7FlagTable cmVS8ExtraFlagTable[] = {"PrecompiledHeaderThrough", "Yu", "Precompiled Header Name", "", cmVS7FlagTable::UserValueRequired}, // There is no YX option in the VS8 IDE. + + // Exception handling mode. If no entries match, it will be FALSE. + {"ExceptionHandling", "GX", "enable c++ exceptions", "1", 0}, + {"ExceptionHandling", "EHsc", "enable c++ exceptions", "1", 0}, + {"ExceptionHandling", "EHa", "enable SEH exceptions", "2", 0}, + {0,0,0,0,0} }; cmVS7FlagTable const* cmGlobalVisualStudio8Generator::GetExtraFlagTableVS8() |