diff options
author | Sebastian Herbst <template.meta.programmer@googlemail.com> | 2010-03-09 19:59:01 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2011-02-01 20:03:10 (GMT) |
commit | ea9de57750775dd80e83f6b6d5bd930a221b6f32 (patch) | |
tree | d8d48f8f5a7016372b1e8dc94852eb0128e13fac /Source | |
parent | 15e422249eab4d920ffeb3de08057d35f3bc6387 (diff) | |
download | CMake-ea9de57750775dd80e83f6b6d5bd930a221b6f32.zip CMake-ea9de57750775dd80e83f6b6d5bd930a221b6f32.tar.gz CMake-ea9de57750775dd80e83f6b6d5bd930a221b6f32.tar.bz2 |
VS8/9: Add flag map entries for /Zc:wchar_t (#10397)
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalVisualStudio8Generator.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx index b066179..ef723b7 100644 --- a/Source/cmGlobalVisualStudio8Generator.cxx +++ b/Source/cmGlobalVisualStudio8Generator.cxx @@ -358,8 +358,14 @@ 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}, + {"EnablePREfast", "analyze", "", "true", 0}, + {"EnablePREfast", "analyze-", "", "false", 0}, + + // Language options + {"TreatWChar_tAsBuiltInType", "Zc:wchar_t", + "wchar_t is a built-in type", "true", 0}, + {"TreatWChar_tAsBuiltInType", "Zc:wchar_t-", + "wchar_t is not a built-in type", "false", 0}, {0,0,0,0,0} }; |