summaryrefslogtreecommitdiffstats
path: root/build/win32/mozconfig.vs2019
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--build/win32/mozconfig.vs201911
1 files changed, 11 insertions, 0 deletions
diff --git a/build/win32/mozconfig.vs2019 b/build/win32/mozconfig.vs2019
new file mode 100644
index 0000000000..6e11de1935
--- /dev/null
+++ b/build/win32/mozconfig.vs2019
@@ -0,0 +1,11 @@
+if [ -z "${VSPATH}" ]; then
+ VSPATH="$(cd ${MOZ_FETCHES_DIR} && pwd)/vs"
+fi
+
+if [ -d "${VSPATH}" ]; then
+ export WIN32_REDIST_DIR="${VSPATH}/VC/Redist/MSVC/14.29.30133/x86/Microsoft.VC142.CRT"
+ export WIN_UCRT_REDIST_DIR="${VSPATH}/Windows Kits/10/Redist/10.0.19041.0/ucrt/DLLs/x86"
+ export WINSYSROOT="${VSPATH}"
+fi
+
+ac_add_options --target=i686-pc-windows-msvc