[lldb][cmake] Remove libclang as an lldbBase dependency (NFCI)
authorVedant Kumar <vsk@apple.com>
Fri, 19 Aug 2016 18:41:50 +0000 (18:41 +0000)
committerVedant Kumar <vsk@apple.com>
Fri, 19 Aug 2016 18:41:50 +0000 (18:41 +0000)
commit181f924beb494c2ac778eff09559132c3c942d31
tree80c38cb2a88b1c562c7b786c56573d0f82157995
parent9b35e6d74618e108696199b6bb3821d941ab0ccc
[lldb][cmake] Remove libclang as an lldbBase dependency (NFCI)

It's pulling in all kinds of things it doesn't need (e.g, clang-tidy!).

Eliminating this dependency removes 1056 dependencies from the
'CommandObjectFrame.cpp.o' target and 454 dependencies from the 'lldb'
target. On my machine, this shaves 7 minutes off of a clean build of
lldb.

Thanks to Zachary Turner for pointing out some issues with an earlier
version of this patch!

Differential Revision: https://reviews.llvm.org/D22987

llvm-svn: 279296
lldb/CMakeLists.txt
lldb/cmake/modules/AddLLDB.cmake