diff options
author | Mark Salisbury <mark.salisbury@hp.com> | 2014-05-22 17:45:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-05-28 20:32:56 (GMT) |
commit | b684ce58dde41162179ab1cc6a0558e269bfd209 (patch) | |
tree | b912ae76554060f362c70412c715c4698cd4bcad /Source/cmGlobalVisualStudio7Generator.cxx | |
parent | cbc9a9514d0dd00b35b3de694dab02a387ec2b52 (diff) | |
download | CMake-b684ce58dde41162179ab1cc6a0558e269bfd209.zip CMake-b684ce58dde41162179ab1cc6a0558e269bfd209.tar.gz CMake-b684ce58dde41162179ab1cc6a0558e269bfd209.tar.bz2 |
VS: Use lower-case boolean values in VS 7-9 (#14927)
The VS 7-9 IDEs parse .vcproj file boolean values in lower or upper
case. The .NET XML parsing chokes on anything but "true", "false", "0",
"1". Teach our generators to use lower-case names since they will work
for both parsers. Our VS >= 10 flag tables already use lower-case.
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index bb63289..9215c54 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -1017,11 +1017,11 @@ static cmVS7FlagTable cmVS7ExtraFlagTable[] = cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue}, {"PrecompiledHeaderThrough", "Yu", "Precompiled Header Name", "", cmVS7FlagTable::UserValueRequired}, - {"WholeProgramOptimization", "LTCG", "WholeProgramOptimization", "TRUE", 0}, + {"WholeProgramOptimization", "LTCG", "WholeProgramOptimization", "true", 0}, // Exception handling mode. If no entries match, it will be FALSE. - {"ExceptionHandling", "GX", "enable c++ exceptions", "TRUE", 0}, - {"ExceptionHandling", "EHsc", "enable c++ exceptions", "TRUE", 0}, + {"ExceptionHandling", "GX", "enable c++ exceptions", "true", 0}, + {"ExceptionHandling", "EHsc", "enable c++ exceptions", "true", 0}, // The EHa option does not have an IDE setting. Let it go to false, // and have EHa passed on the command line by leaving out the table // entry. |