I'm about to land some patches[1] that will allow configure to detect a
Visual C++ 2017 installation. You should be able to launch a
MozillaBuild `start-shell.bat` shell and build without having to have
the Visual C++ environment configured. The only thing that will change
from the current state of affairs is that if you have both VC2015 and
VC2017 installed, and you're building from a start-shell shell (not
start-shell-msvc2015) configure will now default to using VC2017 instead
of VC2015. I've added a new configure option you can use to select the
compiler version you want in this situation, so you can add:

ac_add_options --with-visual-studio-version=2015

to your mozconfig to tell configure to continue to use VC2015 when it
autodetects a compiler for you. Do note that VC2017 is not currently
built in CI[2], so it's likely to get accidentally broken until we get
that fixed.

-Ted

1. https://bugzilla.mozilla.org/show_bug.cgi?id=1318143
2. https://bugzilla.mozilla.org/show_bug.cgi?id=1318193
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to