aboutsummaryrefslogtreecommitdiff
path: root/msvc-15/msvc-15rc2-32
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-01-20 16:52:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-01-20 16:52:07 +0200
commit416f5ee22d062ae8ccbdeb7af896ef28c932f0db (patch)
tree843804cbb7eaa6d370dcf0fe63487d7fbef9b224 /msvc-15/msvc-15rc2-32
parent5cfa287477f6c7a735cbd477205dfb106bb3e4c0 (diff)
Add support for VC15RC2
Diffstat (limited to 'msvc-15/msvc-15rc2-32')
-rwxr-xr-xmsvc-15/msvc-15rc2-3240
1 files changed, 40 insertions, 0 deletions
diff --git a/msvc-15/msvc-15rc2-32 b/msvc-15/msvc-15rc2-32
new file mode 100755
index 0000000..3d529c6
--- /dev/null
+++ b/msvc-15/msvc-15rc2-32
@@ -0,0 +1,40 @@
+#! /usr/bin/env bash
+
+# MSVC 15RC1 32-bit setup/configuration (note: using 64-to-32 cross-compiler).
+#
+# Should set the SDKBIN, VCBIN, VCDLL, INCLUDE, and LIB variables.
+#
+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="$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"
+
+# CRT
+#
+CRT="C:\\Program Files (x86)\\Windows Kits\\10"
+CRTVER="$MSVC_SDKVERSION.0" # Originally "10.0.14393".
+
+INCLUDE="$CRT\\include\\$CRTVER\\ucrt;$INCLUDE"
+LIB="$CRT\\lib\\$CRTVER\\ucrt\\x86;$LIB"
+
+# VC
+#
+VC="C:\\Program Files (x86)\\$MSVC_INSTALLDIR\\VC\\Tools\\MSVC\\14.10.24728"
+VCBIN="$VC\\bin\\HostX64\\x86"
+VCDLL="$VC\\bin\\HostX64\\x64"
+
+INCLUDE="$VC\\include;$INCLUDE"
+LIB="$VC\\lib\\x86;$LIB"