OSDN Git Service

[dsymutil] Perform analyzeContextInfo and CloneDIEs in parallel
[android-x86/external-llvm.git] / tools / dsymutil / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   ${LLVM_TARGETS_TO_BUILD}
3   AsmPrinter
4   DebugInfoDWARF
5   MC
6   Object
7   Support
8   Target
9   )
10
11 add_llvm_tool(llvm-dsymutil
12   dsymutil.cpp
13   BinaryHolder.cpp
14   CFBundle.cpp
15   DebugMap.cpp
16   DwarfLinker.cpp
17   MachODebugMapParser.cpp
18   MachOUtils.cpp
19   NonRelocatableStringpool.cpp
20
21   DEPENDS
22   intrinsics_gen
23   )
24
25 if(APPLE)
26   target_link_libraries(llvm-dsymutil PRIVATE "-framework CoreFoundation")
27 endif(APPLE)
28
29 if(LLVM_INSTALL_CCTOOLS_SYMLINKS)
30   add_llvm_tool_symlink(dsymutil llvm-dsymutil)
31 endif()
32