summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-02-22 19:30:44 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-02-22 19:30:44 (GMT)
commit52e2c22ee9ca0053f538c0982d0a854c28a4547c (patch)
tree742919417f5c82fea757eb66a34521e59a85fb26 /Source
parentf866b208800c398e7bdf50c2d1a05b2b2f462c2d (diff)
parent15e422249eab4d920ffeb3de08057d35f3bc6387 (diff)
downloadCMake-52e2c22ee9ca0053f538c0982d0a854c28a4547c.zip
CMake-52e2c22ee9ca0053f538c0982d0a854c28a4547c.tar.gz
CMake-52e2c22ee9ca0053f538c0982d0a854c28a4547c.tar.bz2
Merge topic 'fix-10638-add-enable-prefast-flags'
15e4222 VS9: Map enable/disable PREfast flags (#10638)
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalVisualStudio8Generator.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx
index 2d080df..b066179 100644
--- a/Source/cmGlobalVisualStudio8Generator.cxx
+++ b/Source/cmGlobalVisualStudio8Generator.cxx
@@ -358,6 +358,9 @@ static cmVS7FlagTable cmVS8ExtraFlagTable[] =
{"ExceptionHandling", "EHsc", "enable c++ exceptions", "1", 0},
{"ExceptionHandling", "EHa", "enable SEH exceptions", "2", 0},
+ {"EnablePREfast", "analyze", "", "TRUE", 0},
+ {"EnablePREfast", "analyze-", "", "FALSE", 0},
+
{0,0,0,0,0}
};
cmIDEFlagTable const* cmGlobalVisualStudio8Generator::GetExtraFlagTableVS8()