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