mozconfig.vs2015 1.2 KB

12345678910111213141516171819202122232425
  1. if [ -z "${VSPATH}" ]; then
  2. TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir}
  3. VSPATH="$(cd ${TOOLTOOL_DIR} && pwd)/vs2015u3"
  4. fi
  5. VSWINPATH="$(cd ${VSPATH} && pwd -W)"
  6. export WINDOWSSDKDIR="${VSWINPATH}/SDK"
  7. export WIN32_REDIST_DIR=${VSPATH}/VC/redist/x64/Microsoft.VC140.CRT
  8. export WIN_UCRT_REDIST_DIR="${VSPATH}/SDK/Redist/ucrt/DLLs/x64"
  9. 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}"
  10. 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"
  11. 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"
  12. . $topsrcdir/build/mozconfig.vs-common
  13. mk_export_correct_style WINDOWSSDKDIR
  14. mk_export_correct_style INCLUDE
  15. mk_export_correct_style LIB
  16. mk_export_correct_style PATH
  17. mk_export_correct_style WIN32_REDIST_DIR
  18. mk_export_correct_style WIN_UCRT_REDIST_DIR