示例#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);
 }