2017-10-26 00:56:30 +03:00
|
|
|
if [ -z "${VSPATH}" ]; then
|
|
|
|
TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir}
|
2018-09-07 01:15:19 +03:00
|
|
|
VSPATH="$(cd ${TOOLTOOL_DIR} && pwd)/vs2017_15.8.4"
|
2017-10-26 00:56:30 +03:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -d "${VSPATH}" ]; then
|
2020-02-28 00:39:39 +03:00
|
|
|
VSWINPATH="$(cd ${VSPATH} && (pwd -W 2>/dev/null || pwd))"
|
2017-10-26 00:56:30 +03: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-29 01:41:57 +03:00
|
|
|
export DIA_SDK_PATH="${VSPATH}/DIA SDK"
|
|
|
|
export VC_PATH="${VSPATH}/VC"
|
2017-10-26 00:56:30 +03:00
|
|
|
fi
|