| 760 | } |
| 761 | |
| 762 | bool 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 | |
| 777 | bool cmGlobalVisualStudioVersionedGenerator::IsScanDependenciesSupported() |
| 778 | const |
no test coverage detected