2017-10-25 21:56:30 +00:00
|
|
|
if [ -z "${VSPATH}" ]; then
|
|
|
|
TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir}
|
2018-09-06 22:15:19 +00:00
|
|
|
VSPATH="$(cd ${TOOLTOOL_DIR} && pwd)/vs2017_15.8.4"
|
2017-10-25 21:56:30 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -d "${VSPATH}" ]; then
|
2020-02-27 21:39:39 +00:00
|
|
|
VSWINPATH="$(cd ${VSPATH} && (pwd -W 2>/dev/null || pwd))"
|
2017-10-25 21:56:30 +00:00
|
|
|
|
|
|
|
export WINDOWSSDKDIR="${VSWINPATH}/SDK"
|
|
|
|
export WIN32_REDIST_DIR=${VSPATH}/VC/redist/x64/Microsoft.VC141.CRT
|
|
|
|
export WIN_UCRT_REDIST_DIR="${VSPATH}/SDK/Redist/ucrt/DLLs/x64"
|
2019-01-28 22:41:57 +00:00
|
|
|
export DIA_SDK_PATH="${VSPATH}/DIA SDK"
|
|
|
|
export VC_PATH="${VSPATH}/VC"
|
2017-10-25 21:56:30 +00:00
|
|
|
fi
|