OSDN Git Service

[projects] Use add_llvm_external_project for implicit projects
authorShoaib Meenai <smeenai@fb.com>
Sat, 1 Dec 2018 01:41:27 +0000 (01:41 +0000)
committerShoaib Meenai <smeenai@fb.com>
Sat, 1 Dec 2018 01:41:27 +0000 (01:41 +0000)
commitc004d540e94eeac14f732da5cc2f0d1cc9aaa4cc
tree8e1f908cfb96a7c633724ccd1c01f62fb08f7aa4
parent26f6d0a9018853968df19d00cb73990fab56cedb
[projects] Use add_llvm_external_project for implicit projects

This allows disabling implicit projects via the LLVM_TOOL_*_BUILD
variables, similar to how implicit tools can be disabled. They'll still
be enabled by default, since add_llvm_external_project defaults the
LLVM_TOOL_*_BUILD variables to ON for in-tree implciit projects.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@348064 91177308-0d34-0410-b5e6-96231b3b80d8
projects/CMakeLists.txt