docs: private boolean setPlatformToolsetFromLine(String line) {
      if (line.contains("\\V100\\Microsoft.CppBuild.targets")
        || line.contains("Microsoft Visual Studio 10.0\\VC\\bin\\CL.exe")) {
        setPlatformToolset("V100");
        return true;
      } else if (line.contains("\\V110\\Microsoft.CppBuild.targets")
        || line.contains("Microsoft Visual Studio 11.0\\VC\\bin\\CL.exe")) {
        setPlatformToolset("V110");
        return true;
      } else if (line.contains("\\V120\\Microsoft.CppBuild.targets")
        || line.contains("Microsoft Visual Studio 12.0\\VC\\bin\\CL.exe")) {
        setPlatformToolset("V120");
        return true;
      } else if (line.contains("\\V140\\Microsoft.CppBuild.targets")
        || line.contains("Microsoft Visual Studio 14.0\\VC\\bin\\CL.exe")
        || line.contains("Microsoft Visual Studio 14.0\\VC\\bin\\amd64\\cl.exe")) {
        setPlatformToolset("V140");
        return true;
      } else if (line.contains("\\V141\\Microsoft.CppBuild.targets")
        || TOOLSET_V141_PATTERN.matcher(line).matches()) {
        setPlatformToolset("V141");
        return true;
      } else {
        // do nothing
      }
      return false;
    }