Commit Graph

11 Commits

Author SHA1 Message Date
Alexander Karatarakis
90cf4371c3 [getWindowsSDK.ps1] Fix error when registry key was not found 2018-02-28 18:45:33 -08:00
Alexander Karatarakis
e8f64049cf Fix getWindowsSDK.ps1 error when $path is $null 2017-10-16 17:02:59 -07:00
Alexander Karatarakis
f0f25b1cb7 Remove unused variable 2017-10-06 02:04:04 -07:00
Daniel Strommen
0643bd6581 Fix Win10SDK detection during Bootstrap
When multiple Win10 SDK's are installed, like Insider previews,
depending on the SDK installation, it may not contain the um headers.
There is already a loop for trying to find the newest Win10 SDK
that has full headers, but it's returning at the first failure,
rather than continuing the loop to the next iteration.

Also, use Join-Path instead of manual path appending, to normalize
the extra \ at the end of the sdk root value.  In some cases paths
with double backslashes can be interpreted as a fallback syntax for
UNC paths.  Join-Path normalizes the path appropriately.
2017-10-05 19:47:41 -07:00
Robert Schumacher
7c6c706160 [vcpkg-getWindowsSDK] Also look in the paths, just in case. 2017-07-28 17:05:38 -07:00
Mikhail Paulyshka
509b59b7ae scipts/getWindowsSDK: use registry for SDK detection 2017-07-25 12:42:59 +03:00
Robert Schumacher
bfb76e52a4 [vcpkg] Fix getWindowsSDK to correctly handle the new optional c++ desktop deployment of the Windows SDK. 2017-04-13 18:59:13 -07:00
Alexander Karatarakis
58002f6239 Tweak -Verbose messages 2017-02-24 16:36:10 -08:00
Alexander Karatarakis
789f26c741 Rewrite WindowsSDK detection 2017-02-24 16:28:36 -08:00
Alexander Karatarakis
8f89f41a06 Inline variables 2017-02-24 15:17:18 -08:00
Alexander Karatarakis
a2cebceafe Rename findTargetPlatformVersion to getWindowsSDK 2017-02-21 17:45:08 -08:00