Ejemplo n.º 1
0
  public PlatformToolChain target(Platform targetPlatform) {
    assertAvailable();
    checkPlatform(targetPlatform);
    VisualStudioInstall visualStudioInstall = locateVisualStudioInstall();

    WindowsSdk windowsSdk = windowsSdkLocator.getDefaultSdk();

    return new VisualCppPlatformToolChain(visualStudioInstall, windowsSdk, targetPlatform);
  }
Ejemplo n.º 2
0
 private ToolSearchResult locateWindowsSdk() {
   return windowsSdkLocator.locateWindowsSdks(windowsSdkDir);
 }