1 if [ -z "${VSPATH}" ]; then
2 TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir}
3 VSPATH="$(cd ${TOOLTOOL_DIR} && pwd)/vs2017_15.8.4"
6 if [ -d "${VSPATH}" ]; then
7 VSWINPATH="$(cd ${VSPATH} && (pwd -W 2>/dev/null || pwd))"
9 export WINDOWSSDKDIR="${VSWINPATH}/SDK"
10 export WIN32_REDIST_DIR=${VSPATH}/VC/redist/x64/Microsoft.VC141.CRT
11 export WIN_UCRT_REDIST_DIR="${VSPATH}/SDK/Redist/ucrt/DLLs/x64"
12 export DIA_SDK_PATH="${VSPATH}/DIA SDK"
13 export VC_PATH="${VSPATH}/VC"