• Martin Thomson's avatar
    Bug 1434943 - Support for MSVC in build.sh, r=jcj · 5bab67bd
    Martin Thomson authored
    This adds basic support for MSVC to build.sh.  It uses the registry and vswhere
    (which is part of the standard mozilla-build setup now) to work out paths and
    set them properly.  It's probably a little fragile, but it's better than the
    shoestring and tape we have in builds right now.
    I took the liberty of sanitizing the command-line options a little here.  Mostly
    that is sorting them, but I also deprecated the -m32 option in favour of
    specifying target architecture with -t.  That turned out to be a lot cleaner.
    Reviewers: jcj
    Reviewed By: jcj
    Bug #: 1434943
    Differential Revision: https://phabricator.services.mozilla.com/D5125
    extra : rebase_source : 54465a06808f1164e31094773930831b8bb7e20b
    extra : amend_source : f89a25ab6ab7b95fa6d54b8d55ebee88ec1dcc65
build.sh 6.42 KB