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

Method IsStdOutEncodingSupported

Source/cmGlobalVisualStudioVersionedGenerator.cxx:747–760  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

745}
746
747bool cmGlobalVisualStudioVersionedGenerator::IsStdOutEncodingSupported() const
748{
749 // Supported from Visual Studio 16.7 Preview 3.
750 if (this->Version > cmGlobalVisualStudioGenerator::VSVersion::VS16) {
751 return true;
752 }
753 if (this->Version < cmGlobalVisualStudioGenerator::VSVersion::VS16) {
754 return false;
755 }
756 static std::string const vsVer16_7_P2 = "16.7.30128.36";
757 cm::optional<std::string> vsVer = this->GetVSInstanceVersion();
758 return (vsVer &&
759 cmSystemTools::VersionCompareGreaterEq(*vsVer, vsVer16_7_P2));
760}
761
762bool cmGlobalVisualStudioVersionedGenerator::IsUtf8EncodingSupported() const
763{

Callers 1

Calls 1

GetVSInstanceVersionMethod · 0.95

Tested by

no test coverage detected