forked from OSchip/llvm-project
33 lines
527 B
CMake
33 lines
527 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
AsmPrinter
|
|
DebugInfoDWARF
|
|
MC
|
|
Object
|
|
Support
|
|
Target
|
|
)
|
|
|
|
add_llvm_tool(llvm-dsymutil
|
|
dsymutil.cpp
|
|
BinaryHolder.cpp
|
|
CFBundle.cpp
|
|
DebugMap.cpp
|
|
DwarfLinker.cpp
|
|
MachODebugMapParser.cpp
|
|
MachOUtils.cpp
|
|
NonRelocatableStringpool.cpp
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
)
|
|
|
|
if(APPLE)
|
|
target_link_libraries(llvm-dsymutil PRIVATE "-framework CoreFoundation")
|
|
endif(APPLE)
|
|
|
|
if(LLVM_INSTALL_CCTOOLS_SYMLINKS)
|
|
add_llvm_tool_symlink(dsymutil llvm-dsymutil)
|
|
endif()
|
|
|