mirror of
https://github.com/reactos/CMake.git
synced 2024-12-11 13:24:58 +00:00
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:
parent
e80cc856da
commit
907bc35437
@ -951,6 +951,11 @@ void cmGlobalVisualStudio10Generator::PathTooLong(cmGeneratorTarget* target,
|
||||
}
|
||||
}
|
||||
|
||||
std::string cmGlobalVisualStudio10Generator::Encoding()
|
||||
{
|
||||
return "utf-8";
|
||||
}
|
||||
|
||||
bool cmGlobalVisualStudio10Generator::IsNsightTegra() const
|
||||
{
|
||||
return !this->NsightTegraVersion.empty();
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user