aboutsummaryrefslogtreecommitdiff
path: root/msvc-common/msvc-sdk-common
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-11-28 13:22:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-28 13:22:08 +0200
commit6513bb7b269ea8b39dfed0e86a2df9a01ee23416 (patch)
tree18869207bab0ea24611f179a41f75739598b9109 /msvc-common/msvc-sdk-common
parent0e2b7b99f9cc769cf4b094dca39b5d452f1de32b (diff)
Add infrastructure for Windows 10 SDK discovery
Diffstat (limited to 'msvc-common/msvc-sdk-common')
-rwxr-xr-xmsvc-common/msvc-sdk-common12
1 files changed, 12 insertions, 0 deletions
diff --git a/msvc-common/msvc-sdk-common b/msvc-common/msvc-sdk-common
new file mode 100755
index 0000000..b29777e
--- /dev/null
+++ b/msvc-common/msvc-sdk-common
@@ -0,0 +1,12 @@
+#! /usr/bin/env bash
+
+# Figure out the latest Windows 10 SDK version. Fail if none is found.
+#
+function windows10_sdkversion ()
+{
+ # This path will probably always be the same (VC never asks for the SDK
+ # installation location).
+ #
+ local sdk_root="C:\\Program Files (x86)\\Windows Kits\\10"
+
+}