VS: Emit "utf-8" encoding as lowercase in .vcxproj headers

Match the XML preamble generated by VS 2010 and later.
This commit is contained in:
Vitaly Stakhovsky 2017-12-13 19:16:54 -05:00 committed by Brad King
parent e80cc856da
commit 907bc35437
2 changed files with 6 additions and 0 deletions

View File

@ -951,6 +951,11 @@ void cmGlobalVisualStudio10Generator::PathTooLong(cmGeneratorTarget* target,
}
}
std::string cmGlobalVisualStudio10Generator::Encoding()
{
return "utf-8";
}
bool cmGlobalVisualStudio10Generator::IsNsightTegra() const
{
return !this->NsightTegraVersion.empty();

View File

@ -96,6 +96,7 @@ public:
void PathTooLong(cmGeneratorTarget* target, cmSourceFile const* sf,
std::string const& sfRel);
std::string Encoding() override;
virtual const char* GetToolsVersion() { return "4.0"; }
bool FindMakeProgram(cmMakefile* mf) override;