summaryrefslogtreecommitdiffstats
path: root/build/win32/mozconfig.vs2017
diff options
context:
space:
mode:
Diffstat (limited to 'build/win32/mozconfig.vs2017')
-rw-r--r--build/win32/mozconfig.vs201716
1 files changed, 16 insertions, 0 deletions
diff --git a/build/win32/mozconfig.vs2017 b/build/win32/mozconfig.vs2017
new file mode 100644
index 0000000000..1de09acd06
--- /dev/null
+++ b/build/win32/mozconfig.vs2017
@@ -0,0 +1,16 @@
+if [ -z "${VSPATH}" ]; then
+ TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir}
+ VSPATH="$(cd ${TOOLTOOL_DIR} && pwd)/vs2017_15.8.4"
+fi
+
+if [ -d "${VSPATH}" ]; then
+ VSWINPATH="$(cd ${VSPATH} && (pwd -W 2>/dev/null || pwd))"
+
+ export WINDOWSSDKDIR="${VSWINPATH}/SDK"
+ export WIN32_REDIST_DIR="${VSPATH}/VC/redist/x86/Microsoft.VC141.CRT"
+ export WIN_UCRT_REDIST_DIR="${VSPATH}/SDK/Redist/ucrt/DLLs/x86"
+ export DIA_SDK_PATH="${VSPATH}/DIA SDK"
+ export VC_PATH="${VSPATH}/VC"
+fi
+
+ac_add_options --target=i686-pc-mingw32