aboutsummaryrefslogtreecommitdiff
path: root/msvc-15/msvc-15rc1-32
diff options
context:
space:
mode:
Diffstat (limited to 'msvc-15/msvc-15rc1-32')
-rwxr-xr-xmsvc-15/msvc-15rc1-329
1 files changed, 7 insertions, 2 deletions
diff --git a/msvc-15/msvc-15rc1-32 b/msvc-15/msvc-15rc1-32
index 774065a..5e0f4c8 100755
--- a/msvc-15/msvc-15rc1-32
+++ b/msvc-15/msvc-15rc1-32
@@ -8,11 +8,16 @@ if [ -z "$MSVC_INSTALLDIR" ]; then
MSVC_INSTALLDIR="Microsoft Visual Studio 15.0"
fi
+if [ -z "$MSVC_SDKVERSION" ]; then
+ source "$src_dir/msvc-common/msvc-sdk-common"
+ MSVC_SDKVERSION="$(windows10_sdkversion)"
+fi
+
# SDK
#
SDK="C:\\Program Files (x86)\\Windows Kits\\10"
SDKBIN="$SDK\\bin\\x86"
-SDKVER="10.0.14393.0"
+SDKVER="$MSVC_SDKVERSION.0" # Originally "10.0.14393".
INCLUDE="$SDK\\include\\$SDKVER\\shared;$SDK\\include\\$SDKVER\\um;$SDK\\include\\$SDKVER\\winrt"
LIB="$SDK\\lib\\$SDKVER\\um\\x86"
@@ -20,7 +25,7 @@ LIB="$SDK\\lib\\$SDKVER\\um\\x86"
# CRT
#
CRT="C:\\Program Files (x86)\\Windows Kits\\10"
-CRTVER="10.0.14393.0"
+CRTVER="$MSVC_SDKVERSION.0" # Originally "10.0.14393".
INCLUDE="$CRT\\include\\$CRTVER\\ucrt;$INCLUDE"
LIB="$CRT\\lib\\$CRTVER\\ucrt\\x86;$LIB"