summaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-dwarfutil/CMakeLists.txt
blob: 40e09aff180310984b30a1bc5102260aef35b8e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
set(LLVM_TARGET_DEFINITIONS Options.td)
tablegen(LLVM Options.inc -gen-opt-parser-defs)
add_public_tablegen_target(DwarfutilTableGen)

set(LLVM_LINK_COMPONENTS
  AllTargetsCodeGens
  AllTargetsDescs
  AllTargetsInfos
  CodeGenTypes
  DWARFLinker
  DebugInfoDWARF
  MC
  ObjCopy
  Object
  Option
  Support
  Target
  TargetParser
  )

add_llvm_tool(llvm-dwarfutil
  llvm-dwarfutil.cpp
  DebugInfoLinker.cpp

  DEPENDS
  intrinsics_gen
  ${tablegen_deps}
  )