blob: 78d65d8adfc92961b8a8c2b8d62d5547eb6e03da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#! /usr/bin/env bash
# MSVC 14U2 64-bit setup/configuration.
#
# 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\\x64"
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\\x64"
# 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\\x64;$LIB"
# VC
#
VC="C:\\Program Files (x86)\\$MSVC_INSTALLDIR\\VC"
VCBIN="$VC\\bin\\amd64"
VCDLL="$VC\\bin\\amd64"
INCLUDE="$VC\\include;$INCLUDE"
LIB="$VC\\lib\\amd64;$LIB"
|