sgraenitz updated this revision to Diff 177570.
sgraenitz added a comment.
Also remove code sign configuration as it moved back into debugserver in D55013
<https://reviews.llvm.org/D55013>. With this, debugserverConfig became really
small (for the moment), but I still think it's good to have it as counterpart
for LLDBConfig.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55320/new/
https://reviews.llvm.org/D55320
Files:
cmake/modules/debugserverConfig.cmake
tools/debugserver/CMakeLists.txt
Index: tools/debugserver/CMakeLists.txt
===================================================================
--- tools/debugserver/CMakeLists.txt
+++ tools/debugserver/CMakeLists.txt
@@ -10,13 +10,12 @@
)
include(LLDBStandalone)
+ include(debugserverConfig)
include(AddLLDB)
set(LLDB_SOURCE_DIR "${CMAKE_SOURCE_DIR}/../../")
include_directories(${LLDB_SOURCE_DIR}/include)
- option(LLDB_USE_ENTITLEMENTS "When code signing, use entitlements if
available" ON)
-
# 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)
Index: cmake/modules/debugserverConfig.cmake
===================================================================
--- /dev/null
+++ cmake/modules/debugserverConfig.cmake
@@ -0,0 +1,3 @@
+# Duplicate options from LLDBConfig that are relevant for debugserver
Standalone builds.
+
+option(LLDB_USE_ENTITLEMENTS "When code signing, use entitlements if
available" ON)
Index: tools/debugserver/CMakeLists.txt
===================================================================
--- tools/debugserver/CMakeLists.txt
+++ tools/debugserver/CMakeLists.txt
@@ -10,13 +10,12 @@
)
include(LLDBStandalone)
+ include(debugserverConfig)
include(AddLLDB)
set(LLDB_SOURCE_DIR "${CMAKE_SOURCE_DIR}/../../")
include_directories(${LLDB_SOURCE_DIR}/include)
- option(LLDB_USE_ENTITLEMENTS "When code signing, use entitlements if available" ON)
-
# 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)
Index: cmake/modules/debugserverConfig.cmake
===================================================================
--- /dev/null
+++ cmake/modules/debugserverConfig.cmake
@@ -0,0 +1,3 @@
+# Duplicate options from LLDBConfig that are relevant for debugserver Standalone builds.
+
+option(LLDB_USE_ENTITLEMENTS "When code signing, use entitlements if available" ON)
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits