aboutsummaryrefslogtreecommitdiff
path: root/msvc-14/msvc-14.2-32
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-03-13 00:53:19 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-03-25 16:21:26 +0300
commitba83f41d5d899e2e6f3e521b5b489123aa24b720 (patch)
treefa92b790fdb85b90431c492fc536da823f6cb6b5 /msvc-14/msvc-14.2-32
parentbea2cd6f5817e41f3ddb7d1a795648e52f9b7d05 (diff)
Add support for 16.0
Diffstat (limited to 'msvc-14/msvc-14.2-32')
-rwxr-xr-xmsvc-14/msvc-14.2-3244
1 files changed, 44 insertions, 0 deletions
diff --git a/msvc-14/msvc-14.2-32 b/msvc-14/msvc-14.2-32
new file mode 100755
index 0000000..5a01648
--- /dev/null
+++ b/msvc-14/msvc-14.2-32
@@ -0,0 +1,44 @@
+#! /usr/bin/env bash
+
+# file : msvc-14/msvc-14.2-32
+# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+# MSVC 14U2 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 14.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.10586".
+
+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.10586".
+
+INCLUDE="$CRT\\include\\$CRTVER\\ucrt;$INCLUDE"
+LIB="$CRT\\lib\\$CRTVER\\ucrt\\x86;$LIB"
+
+# VC
+#
+VC="C:\\Program Files (x86)\\$MSVC_INSTALLDIR\\VC"
+VCBIN="$VC\\bin\\amd64_x86"
+VCDLL="$VC\\bin\\amd64"
+
+INCLUDE="$VC\\include;$INCLUDE"
+LIB="$VC\\lib;$LIB"