hanchenye-llvm-project/lldb/source
Alex Langford 36706fd977 Introduce install-lldb-framework target
Summary:
Previously, I thought that install-liblldb would fail because CMake had
a bug related to installing frameworks. In actuality, I misunderstood the
semantics of `add_custom_target`: the DEPENDS option refers to specific files,
not targets. Therefore `install-liblldb` should rely on the actual liblldb
getting generated rather than the target.

This means that the previous patch I committed (to stop relying on CMake's
framework support) is no longer needed and has been reverted. Using CMake's
framework support greatly simplifies the implementation.

`install-lldb-framework` (and the stripped variant) is as simple as
depending on `install-liblldb` because CMake knows that liblldb was built as a
framework and will install the whole framework for you. The stripped variant
will depend on the stripped variants of individual tools only to ensure they
actually are stripped as well.

Reviewers: labath, sas

Subscribers: mgorny, lldb-commits

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

llvm-svn: 338594
2018-08-01 17:21:18 +00:00
..
API Introduce install-lldb-framework target 2018-08-01 17:21:18 +00:00
Breakpoint Add missing constness. 2018-06-27 07:01:07 +00:00
Commands Narrow the CompletionRequest API to being append-only. 2018-07-27 18:42:46 +00:00
Core Narrow the CompletionRequest API to being append-only. 2018-07-27 18:42:46 +00:00
DataFormatters Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
Expression Fix whitespace formatting in DWARFExpression::DumpLocation 2018-07-19 13:30:56 +00:00
Host [cmake] Remove unused ${LLDB_PLUGINS} dependency from our Objective-C++ CMake config 2018-07-23 21:14:52 +00:00
Initialization Move pretty stack trace printer into driver. 2018-07-17 10:04:19 +00:00
Interpreter Remove unnecessary newlines from break command help text. 2018-07-30 21:41:13 +00:00
Plugins Android is an environment and we were comparing the android triple 2018-07-31 23:53:24 +00:00
Symbol Add missing boundary checks to variable completion. 2018-07-27 23:37:08 +00:00
Target [StackFrame] Add doxygen comments to the StackFrameList API (NFC) 2018-08-01 17:08:11 +00:00
Utility Don't ignore byte_order in Stream::PutMaxHex64 2018-08-01 17:12:58 +00:00
CMakeLists.txt
lldb.cpp