mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
99515b1b1a
Visual Studio 2015 Update 3 has been out for a few months. It appears stable. So let's start using it. As part of this, we also update the Windows SDK to the version corresponding with the Windows 10 Anniversary Update (10.14393.0). MozReview-Commit-ID: C36sRlKqa8t --HG-- extra : rebase_source : 2fd46d6053d3eaf62dd8b2b291881c5172cc6056
25 lines
1.2 KiB
Plaintext
25 lines
1.2 KiB
Plaintext
if [ -z "${VSPATH}" ]; then
|
|
TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir}
|
|
VSPATH="$(cd ${TOOLTOOL_DIR} && pwd)/vs2015u3"
|
|
fi
|
|
|
|
VSWINPATH="$(cd ${VSPATH} && pwd -W)"
|
|
|
|
export WINDOWSSDKDIR="${VSWINPATH}/SDK"
|
|
export WIN32_REDIST_DIR=${VSPATH}/VC/redist/x64/Microsoft.VC140.CRT
|
|
export WIN_UCRT_REDIST_DIR="${VSPATH}/SDK/Redist/ucrt/DLLs/x64"
|
|
|
|
export PATH="${VSPATH}/VC/bin/amd64:${VSPATH}/VC/bin:${VSPATH}/SDK/bin/x64:${VSPATH}/VC/redist/x64/Microsoft.VC140.CRT:${VSPATH}/SDK/Redist/ucrt/DLLs/x64:${VSPATH}/DIA SDK/bin/amd64:${PATH}"
|
|
|
|
export INCLUDE="${VSPATH}/VC/include:${VSPATH}/VC/atlmfc/include:${VSPATH}/SDK/Include/10.0.14393.0/ucrt:${VSPATH}/SDK/Include/10.0.14393.0/shared:${VSPATH}/SDK/Include/10.0.14393.0/um:${VSPATH}/SDK/Include/10.0.14393.0/winrt:${VSPATH}/DIA SDK/include"
|
|
export LIB="${VSPATH}/VC/lib/amd64:${VSPATH}/VC/atlmfc/lib/amd64:${VSPATH}/SDK/lib/10.0.14393.0/ucrt/x64:${VSPATH}/SDK/lib/10.0.14393.0/um/x64:${VSPATH}/DIA SDK/lib/amd64"
|
|
|
|
. $topsrcdir/build/mozconfig.vs-common
|
|
|
|
mk_export_correct_style WINDOWSSDKDIR
|
|
mk_export_correct_style INCLUDE
|
|
mk_export_correct_style LIB
|
|
mk_export_correct_style PATH
|
|
mk_export_correct_style WIN32_REDIST_DIR
|
|
mk_export_correct_style WIN_UCRT_REDIST_DIR
|