aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llc/CMakeLists.txt
blob: 484ff4028f83c140a5475a9dddd8194b013b97cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
set(LLVM_LINK_COMPONENTS
  ${LLVM_TARGETS_TO_BUILD}
  Analysis
  AsmPrinter
  CodeGen
  Core
  IRReader
  MC
  ScalarOpts
  SelectionDAG
  Support
  )

# Support plugins.
set(LLVM_NO_DEAD_STRIP 1)

add_llvm_tool(llc
  llc.cpp
  )
set_target_properties(llc PROPERTIES ENABLE_EXPORTS 1)