Commit 0f5775ef authored by Eike Ziller's avatar Eike Ziller
Browse files

OS X: Deploy clang binary for use by static analyzer



Change-Id: I0047cb33e7267b84310307eb3bb0f6c0d6b31bc5
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent d02e80b8
......@@ -61,6 +61,8 @@ if [ $LLVM_INSTALL_DIR ]; then
# use recursive copy to make it copy symlinks as symlinks
cp -Rf "$LLVM_INSTALL_DIR"/lib/libclang.*dylib "$1/Contents/Frameworks/" || exit 1
cp -Rf "$LLVM_INSTALL_DIR"/lib/clang "$1/Contents/Resources/cplusplus/" || exit 1
cp -Rf "$LLVM_INSTALL_DIR"/bin/clang* "$1/Contents/Resources/" || exit 1
rm "$1/Contents/Resources/clang-check"
fi
_CLANG_CODEMODEL_LIB="$1/Contents/PlugIns/libClangCodeModel_debug.dylib"
if [ ! -f "$_CLANG_CODEMODEL_LIB" ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment