Browse Source

VS9: Map enable/disable PREfast flags (#10638)

David Cole 14 years ago
parent
commit
15e422249e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Source/cmGlobalVisualStudio8Generator.cxx

+ 3 - 0
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()