build/mozconfig.clang-cl
author Brian Hackett <bhackett1024@gmail.com>
Wed, 14 Nov 2018 16:09:58 -1000
changeset 446931 1c7fc8389e012c987347efefca6b35f3948b742a
parent 441779 60d974e18e6ac10231d7105582c026fc74e16a69
child 454907 31a754e0302db5d22a3485f1aef60a762d5507e1
permissions -rw-r--r--
Bug 1507359 Part 2 - Bindings and internal changes to allow ReplayDebugger to control child pausing/resuming, r=mccr8.

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