summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-exegesis/lib/CMakeLists.txt
blob: 5ace962fe59ce11e098a7c3dd6dd432843b3ef13 (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
29
add_library(LLVMExegesis
  STATIC
  BenchmarkResult.cpp
  BenchmarkRunner.cpp
  Clustering.cpp
  InMemoryAssembler.cpp
  InstructionSnippetGenerator.cpp
  Latency.cpp
  LlvmState.cpp
  OperandGraph.cpp
  PerfHelper.cpp
  Uops.cpp
  X86.cpp
  )

llvm_update_compile_flags(LLVMExegesis)
llvm_map_components_to_libnames(libs
  Analysis
  CodeGen
  Core
  ExecutionEngine
  MC
  MCJIT
  Object
  Support
  )

target_link_libraries(LLVMExegesis ${libs})
set_target_properties(LLVMExegesis PROPERTIES FOLDER "Libraries")
OpenPOWER on IntegriCloud