Add features to LLDB CMake builds that have so far only been available in Xcode. Clean up a few inconveniences and prepare further improvements.
Options:
- LLDB_FRAMEWORK_BUILD_DIR determines target directory (in build-tree)
- LLDB_FRAMEWORK_INSTALL_DIR only determines target directory in install-tree
- LLVM_EXTERNALIZE_DEBUGINFO allows externalized debug info (dSYM on Darwin, emitted to bin)
- LLDB_FRAMEWORK_TOOLS determines which executables will be copied to the framework's Resources (dropped symlinking, removed INCLUDE_IN_SUITE, removed dummy targets)
Other changes:
- clean up add_lldb_executable()
- include LLDBFramework.cmake from source/API/CMakeLists.txt
- use *.plist.in files, which are typical for CMake and independent from Xcode
- add clang headers to the framework bundle
@labath Could this be a way to phase out LLDB_CODESIGN_IDENTITY and move to the LLVM one?