summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-02-01 18:32:43 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-02-01 18:37:57 (GMT)
commit15e422249eab4d920ffeb3de08057d35f3bc6387 (patch)
treec40aacc4c1bfaade4c06142fbdba3a799710923f
parent6cf5772a934f8408dbf0615a0a981239f461a28f (diff)
downloadCMake-15e422249eab4d920ffeb3de08057d35f3bc6387.zip
CMake-15e422249eab4d920ffeb3de08057d35f3bc6387.tar.gz
CMake-15e422249eab4d920ffeb3de08057d35f3bc6387.tar.bz2
VS9: Map enable/disable PREfast flags (#10638)
-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()