public PlatformToolChain target(Platform targetPlatform) { assertAvailable(); checkPlatform(targetPlatform); VisualStudioInstall visualStudioInstall = locateVisualStudioInstall(); WindowsSdk windowsSdk = windowsSdkLocator.getDefaultSdk(); return new VisualCppPlatformToolChain(visualStudioInstall, windowsSdk, targetPlatform); }
private ToolSearchResult locateWindowsSdk() { return windowsSdkLocator.locateWindowsSdks(windowsSdkDir); }