summaryrefslogtreecommitdiff
path: root/lldb/resources
diff options
context:
space:
mode:
authorStefan Granitz <stefan.graenitz@gmail.com>2019-01-04 12:46:50 +0000
committerStefan Granitz <stefan.graenitz@gmail.com>2019-01-04 12:46:50 +0000
commitf126ce6881d27d5bcfa4cbd3212d9331dc270403 (patch)
treec52d3cb2e8567f8a711b1bf88d03b8f55cf80631 /lldb/resources
parentd0dc161f62f783a6c48db21a601c1b062ce0f2d0 (diff)
downloadllvm-f126ce6881d27d5bcfa4cbd3212d9331dc270403.tar.gz
[CMake] Revised LLDB.framework builds
Summary: 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 Reviewers: xiaobai, JDevlieghere, aprantl, davide, beanz, stella.stamenova, clayborg, labath Reviewed By: aprantl Subscribers: friss, mgorny, lldb-commits, #lldb Differential Revision: https://reviews.llvm.org/D55328 llvm-svn: 350391
Diffstat (limited to 'lldb/resources')
-rw-r--r--lldb/resources/LLDB-Info.plist.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/lldb/resources/LLDB-Info.plist.in b/lldb/resources/LLDB-Info.plist.in
new file mode 100644
index 000000000000..93af4df68cc3
--- /dev/null
+++ b/lldb/resources/LLDB-Info.plist.in
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>LLDB</string>
+ <key>CFBundleIdentifier</key>
+ <string>${MACOSX_FRAMEWORK_IDENTIFIER}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundlePackageType</key>
+ <string>FMWK</string>
+ <key>CFBundleShortVersionString</key>
+ <string>${MACOSX_FRAMEWORK_SHORT_VERSION_STRING}</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>${MACOSX_FRAMEWORK_BUNDLE_VERSION}</string>
+ <key>CFBundleName</key>
+ <string>LLDB</string>
+</dict>
+</plist>