Пример #1
0
 public InstalledVisualCpp withInstall(VisualStudioInstall install) {
   DefaultPlatform targetPlatform = new DefaultPlatform("default");
   installDir = install.getVisualStudioDir();
   version = install.getVersion();
   pathEntries.addAll(install.getVisualCpp().getPath(targetPlatform));
   return this;
 }
 public InstalledVisualCpp withInstall(VisualStudioInstall install) {
   DefaultPlatform targetPlatform =
       new DefaultPlatform(
           "default",
           ArchitectureNotationParser.parser(),
           OperatingSystemNotationParser.parser());
   installDir = install.getVisualStudioDir();
   pathEntries.add(install.getVisualCppBin(targetPlatform));
   pathEntries.add(install.getCommonIdeBin());
   return this;
 }