MCPcopy Create free account
hub / github.com/Kitware/CMake / IsUtf8EncodingSupported

Method IsUtf8EncodingSupported

Source/cmGlobalVisualStudioVersionedGenerator.cxx:762–775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

760}
761
762bool cmGlobalVisualStudioVersionedGenerator::IsUtf8EncodingSupported() const
763{
764 // Supported from Visual Studio 16.10 Preview 2.
765 if (this->Version > cmGlobalVisualStudioGenerator::VSVersion::VS16) {
766 return true;
767 }
768 if (this->Version < cmGlobalVisualStudioGenerator::VSVersion::VS16) {
769 return false;
770 }
771 static std::string const vsVer16_10_P2 = "16.10.31213.239";
772 cm::optional<std::string> vsVer = this->GetVSInstanceVersion();
773 return (vsVer &&
774 cmSystemTools::VersionCompareGreaterEq(*vsVer, vsVer16_10_P2));
775}
776
777bool cmGlobalVisualStudioVersionedGenerator::IsScanDependenciesSupported()
778 const

Callers 1

Calls 1

GetVSInstanceVersionMethod · 0.95

Tested by

no test coverage detected