예제 #1
0
  public PlatformToolChain target(Platform targetPlatform) {
    assertAvailable();
    checkPlatform(targetPlatform);
    VisualStudioInstall visualStudioInstall = locateVisualStudioInstall();

    WindowsSdk windowsSdk = windowsSdkLocator.getDefaultSdk();

    return new VisualCppPlatformToolChain(visualStudioInstall, windowsSdk, targetPlatform);
  }
예제 #2
0
 private ToolSearchResult locateWindowsSdk() {
   return windowsSdkLocator.locateWindowsSdks(windowsSdkDir);
 }