xref: /llvm-project/llvm/tools/llvm-dwarfutil/CMakeLists.txt (revision 35708b07547950ec94e5481227da4b47fcc629b7)
1set(LLVM_TARGET_DEFINITIONS Options.td)
2tablegen(LLVM Options.inc -gen-opt-parser-defs)
3add_public_tablegen_target(DwarfutilTableGen)
4
5set(LLVM_LINK_COMPONENTS
6  AllTargetsCodeGens
7  AllTargetsDescs
8  AllTargetsInfos
9  CodeGenTypes
10  DWARFLinker
11  DWARFLinkerClassic
12  DWARFLinkerParallel
13  DebugInfoDWARF
14  MC
15  ObjCopy
16  Object
17  Option
18  Support
19  Target
20  TargetParser
21  )
22
23add_llvm_tool(llvm-dwarfutil
24  llvm-dwarfutil.cpp
25  DebugInfoLinker.cpp
26
27  DEPENDS
28  intrinsics_gen
29  ${tablegen_deps}
30  )
31