blob: b5f8a14c41c1a5e35c3af83a53b466bb57513e4c (
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
30
31
32
33
34
 | set(LLVM_LINK_COMPONENTS
  Analysis
  Core
  ExecutionEngine
  IPO
  InstCombine
  MC
  MCJIT
  RuntimeDyld
  ScalarOpts
  Support
  Target
  nativecodegen
  )
set(MCJITTestsSources
  MCJITTest.cpp
  MCJITCAPITest.cpp
  MCJITMemoryManagerTest.cpp
  MCJITMultipleModuleTest.cpp
  MCJITObjectCacheTest.cpp
  )
if(MSVC)
  list(APPEND MCJITTestsSources MCJITTests.def)
endif()
add_llvm_unittest(MCJITTests
  ${MCJITTestsSources}
  )
if(MINGW OR CYGWIN)
  set_property(TARGET MCJITTests PROPERTY LINK_FLAGS -Wl,--export-all-symbols)
endif()
 |