[PATCH] Add cmake flags to disable LLD and LLDB from build.

Bob Campbell bobcampbell_llvm at icloud.com
Fri Jan 9 22:59:17 PST 2015


So I tried it out this evening and setting LLVM_EXTERNAL_LLDB_BUILD to OFF does work, so for CMake anything added with add_llvm_external_project() can be disabled by setting the LLVM_EXTERNAL_<name>_BUILD flag to off.

This includes: CLANG, COMPILER_RT, LIBCXXABI, LIBCXX, LLDB, LLD

I do wish that I had figured this out 6 months ago when I first was trying to do this, it was only last week when I decided to do exactly what this change does that I dug deep and found the switch that works.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D6909

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list