forked from OSchip/llvm-project
[CMake] Add code signing for lldb-server on iOS
llvm-svn: 352388
This commit is contained in:
parent
1f34e851ee
commit
61db81d8d0
|
@ -42,6 +42,18 @@ else()
|
|||
list(APPEND LLDB_PLUGINS lldbPluginObjectFileELF)
|
||||
endif()
|
||||
|
||||
if(IOS)
|
||||
if(LLDB_CODESIGN_IDENTITY)
|
||||
# Use explicit LLDB identity
|
||||
set(LLVM_CODESIGNING_IDENTITY ${LLDB_CODESIGN_IDENTITY})
|
||||
else()
|
||||
# Use explicit LLVM identity or default to lldb_codesign if empty
|
||||
if(NOT LLVM_CODESIGNING_IDENTITY)
|
||||
set(LLVM_CODESIGNING_IDENTITY lldb_codesign)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_lldb_tool(lldb-server
|
||||
Acceptor.cpp
|
||||
lldb-gdbserver.cpp
|
||||
|
|
Loading…
Reference in New Issue