[Lldb-commits] [PATCH] D55032: [CMake] Fix standalone build for debugserver on macOS
Stefan Gränitz via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Nov 28 14:51:13 PST 2018
sgraenitz created this revision.
sgraenitz added reviewers: xiaobai, beanz.
Herald added a subscriber: mgorny.
Quick-fix to avoid CMake config issue:
CMake Error at /path/to/lldb/cmake/modules/AddLLDB.cmake:116 (add_dependencies):
Cannot add target-level dependencies to non-existent target "lldb-suite".
https://reviews.llvm.org/D55032
Files:
tools/debugserver/CMakeLists.txt
Index: tools/debugserver/CMakeLists.txt
===================================================================
--- tools/debugserver/CMakeLists.txt
+++ tools/debugserver/CMakeLists.txt
@@ -15,6 +15,11 @@
set(LLDB_SOURCE_DIR "${CMAKE_SOURCE_DIR}/../../")
include_directories(${LLDB_SOURCE_DIR}/include)
+ # lldb-suite is a dummy target that encompasses all the necessary tools and
+ # libraries for building a fully-functioning liblldb.
+ add_custom_target(lldb-suite)
+ set(LLDB_SUITE_TARGET lldb-suite)
+
option(LLDB_USE_ENTITLEMENTS "When code signing, use entitlements if available" ON)
set(LLDB_CODESIGN_IDENTITY lldb_codesign CACHE STRING
"Identity for code signing debugserver (Darwin only)")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55032.175775.patch
Type: text/x-patch
Size: 721 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20181128/29be7623/attachment.bin>
More information about the lldb-commits
mailing list