diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2017-12-14 00:16:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-12-14 13:27:48 (GMT) |
commit | 907bc3543727767b72e3d9085dbb3c02b1a717ae (patch) | |
tree | 0275a8d858a464a00157d3d17371019abe278638 /Source/cmGlobalVisualStudio10Generator.cxx | |
parent | e80cc856da6901338486d9183b527fbcbbe385dd (diff) | |
download | CMake-907bc3543727767b72e3d9085dbb3c02b1a717ae.zip CMake-907bc3543727767b72e3d9085dbb3c02b1a717ae.tar.gz CMake-907bc3543727767b72e3d9085dbb3c02b1a717ae.tar.bz2 |
VS: Emit "utf-8" encoding as lowercase in .vcxproj headers
Match the XML preamble generated by VS 2010 and later.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx index 8c9e461..4c4c62c 100644 --- a/Source/cmGlobalVisualStudio10Generator.cxx +++ b/Source/cmGlobalVisualStudio10Generator.cxx @@ -951,6 +951,11 @@ void cmGlobalVisualStudio10Generator::PathTooLong(cmGeneratorTarget* target, } } +std::string cmGlobalVisualStudio10Generator::Encoding() +{ + return "utf-8"; +} + bool cmGlobalVisualStudio10Generator::IsNsightTegra() const { return !this->NsightTegraVersion.empty(); |