| 745 | } |
| 746 | |
| 747 | bool 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 | |
| 762 | bool cmGlobalVisualStudioVersionedGenerator::IsUtf8EncodingSupported() const |
| 763 | { |
no test coverage detected