brintos

brintos / llvm-project-archived public Read only

0
0
Text · 811 B · fdd6cf9 Raw
23 lines · plain
1include(CheckCXXCompilerFlag)2# Umbrella target for the entire framework is a default target.3add_custom_target(lldb-rpc ALL)4 5if(LLDB_CODESIGN_IDENTITY)6  # Use explicit LLDB identity7  set(LLVM_CODESIGNING_IDENTITY ${LLDB_CODESIGN_IDENTITY})8else()9  # Use explicit LLVM identity or default to ad-hoc signing if empty10  if(NOT LLVM_CODESIGNING_IDENTITY)11    set(LLVM_CODESIGNING_IDENTITY -)12  endif()13endif()14 15# LLDBRPCGeneration.cmake needs the LLDB_RPC_GEN_EXE variable16# which gets defined in the lldb-rpc-gen folder, so we're adding17# this folder before we add that file.18add_lldb_tool_subdirectory(lldb-rpc-gen)19include(${CMAKE_CURRENT_SOURCE_DIR}/LLDBRPCGeneration.cmake)20include(${CMAKE_CURRENT_SOURCE_DIR}/LLDBRPCHeaders.cmake)21 22add_dependencies(lldb-rpc lldb-rpc-generate-sources liblldbrpc-headers)23