[Lldb-commits] [PATCH] D47801: Make lldb tools dependent on liblldb target when building LLDB.framework with CMake
Stephane Sezer via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 6 11:35:34 PDT 2018
sas added a comment.
> One idea I had was to introduce another target for the framwork itself, e.g. lldbFramework, which gets built if LLDB_BUILD_FRAMEWORK is set. It would depend on liblldb and all the necessary tools, headers, etc, that the framework would need. That way liblldb can depend only on what it needs to build instead of treating it as both the library and the entire framework. How do you feel about this?
I think this is the cleanest way of handling this. If @labath agrees and if it's not too much of a pain to implement in cmake, we should do this.
More information about the lldb-commits