diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-24 11:38:44 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-24 11:38:44 +0200 |
commit | 3209a9fa6e87ad4d2f9d1087a1206347df4c6214 (patch) | |
tree | 84646641225fba708abb5733ce175ceb904a0de0 /msvc-12/msvc-12-32 | |
parent | d929add3baa3fac5720cf4053c42bb846d83c66b (diff) |
Reorganize the script structure
Diffstat (limited to 'msvc-12/msvc-12-32')
-rwxr-xr-x | msvc-12/msvc-12-32 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/msvc-12/msvc-12-32 b/msvc-12/msvc-12-32 new file mode 100755 index 0000000..6d77ff6 --- /dev/null +++ b/msvc-12/msvc-12-32 @@ -0,0 +1,26 @@ +#! /usr/bin/env bash + +# MSVC 12 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 12.0" +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" + +# 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" |