
The only difference from the original PR are the added BRIEF and FULL_DOCS arguments to define_property, which are required for cmake<3.23.
12 lines
344 B
CMake
12 lines
344 B
CMake
set_property(DIRECTORY PROPERTY LLDB_PLUGIN_KIND ABI)
|
|
set_property(DIRECTORY PROPERTY LLDB_TOLERATED_PLUGIN_DEPENDENCIES
|
|
ProcessUtility
|
|
TypeSystem
|
|
)
|
|
|
|
foreach(target AArch64 ARM ARC Hexagon LoongArch Mips MSP430 PowerPC RISCV SystemZ X86)
|
|
if (${target} IN_LIST LLVM_TARGETS_TO_BUILD)
|
|
add_subdirectory(${target})
|
|
endif()
|
|
endforeach()
|