aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-tli-checker/CMakeLists.txt
blob: 384c09d643a252a666bbda3f37220c8430964c5f (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
set(LLVM_LINK_COMPONENTS
  Analysis
  BinaryFormat
  BitReader
  BitstreamReader
  Core
  Demangle
  MC
  MCParser
  Object
  Option
  Remarks
  Support
  TargetParser
  TextAPI
  )

set(LLVM_TARGET_DEFINITIONS Opts.td)
tablegen(LLVM Opts.inc -gen-opt-parser-defs)
add_public_tablegen_target(TLICheckerOptsTableGen)

add_llvm_tool(llvm-tli-checker
  llvm-tli-checker.cpp

  DEPENDS
  TLICheckerOptsTableGen
  )