build/mozconfig.clang-cl
author Dustin J. Mitchell <dustin@mozilla.com>
Mon, 26 Nov 2018 22:13:41 +0000
changeset 507534 4b8c2df35461931ee0eaa2f9e7fad1c2d41acb6c
parent 500301 60d974e18e6ac10231d7105582c026fc74e16a69
child 514893 31a754e0302db5d22a3485f1aef60a762d5507e1
permissions -rw-r--r--
Bug 1509997 - set priorities cron > action > decision r=tomprince Differential Revision: https://phabricator.services.mozilla.com/D12991

if test -d "$topsrcdir/clang/bin"; then
    CLANG_DIR=`cd "$topsrcdir/clang/bin" ; pwd`
    export PATH="${CLANG_DIR}:${PATH}"
    mk_export_correct_style PATH

    if $(cd $topsrcdir/clang/lib/clang/* && test -d lib/windows); then
        CLANG_LIB_DIR="$(cd $topsrcdir/clang/lib/clang/* && cd lib/windows && pwd)"
        export LIB=$LIB:$CLANG_LIB_DIR
        mk_export_correct_style LIB
    fi
fi

export CC=clang-cl
export CXX=clang-cl
export ENABLE_CLANG_PLUGIN=1