diff options
Diffstat (limited to 'msvc-14/msvc-14.0-32')
-rwxr-xr-x | msvc-14/msvc-14.0-32 | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/msvc-14/msvc-14.0-32 b/msvc-14/msvc-14.0-32 new file mode 100755 index 0000000..74de769 --- /dev/null +++ b/msvc-14/msvc-14.0-32 @@ -0,0 +1,43 @@ +#! /usr/bin/env bash + +# file : msvc-14/msvc-14.0-32 +# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd +# license : MIT; see accompanying LICENSE file + +# MSVC 14 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" + MSVC_SDKVERSION="$(windows10_sdkversion)" +fi + +# SDK +# +SDK="C:\\Program Files (x86)\\Windows Kits\\8.1" +SDKBIN="$SDK\\bin\\x86" + +INCLUDE="$SDK\\include\\shared;$SDK\\include\\um;$SDK\\include\\winrt" +LIB="$SDK\\lib\\winv6.3\\um\\x86" + +# CRT +# +CRT="C:\\Program Files (x86)\\Windows Kits\\10" +CRTVER="$MSVC_SDKVERSION.0" # Originally "10.0.10150". + +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" |