Introduce lldb-framework CMake target and centralize its logic
authorAlex Langford <apl@fb.com>
Mon, 18 Jun 2018 18:27:16 +0000 (18:27 +0000)
committerAlex Langford <apl@fb.com>
Mon, 18 Jun 2018 18:27:16 +0000 (18:27 +0000)
commit27510c18ad5ae0b476e06039d3ad49c6500c49bd
tree61590340c65c6e75c8f47b85520ffbc579ec7024
parent68c9b8d6a181934636d39c36e020d5999b2c67ad
Introduce lldb-framework CMake target and centralize its logic

Summary:
In this patch I aim to do the following:

1) Create an lldb-framework target that acts as the target that handles generating LLDB.framework. Previously, liblldb acted as the target for generating the framework in addition to generating the actual lldb library. This made the target feel overloaded.
2) Centralize framework generation as much as it makes sense to do so.
3) Create a target lldb-suite, which depends on every tool and library that makes liblldb fully functional. One result of having this target is it makes tracking dependencies much clearer.

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

llvm-svn: 334968
lldb/CMakeLists.txt
lldb/cmake/modules/AddLLDB.cmake
lldb/cmake/modules/LLDBFramework.cmake [new file with mode: 0644]
lldb/source/API/CMakeLists.txt
lldb/tools/argdumper/CMakeLists.txt
lldb/tools/darwin-debug/CMakeLists.txt
lldb/tools/debugserver/source/CMakeLists.txt
lldb/tools/driver/CMakeLists.txt
lldb/tools/lldb-server/CMakeLists.txt