mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-06 04:03:27 +03: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:
1 parent
e80cc856da
commit
907bc35437
2 files changed
+6
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user