Nuke the old JIT.
[oota-llvm.git] / unittests / ExecutionEngine / MCJIT / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   Analysis
3   Core
4   ExecutionEngine
5   IPO
6   MC
7   MCJIT
8   ScalarOpts
9   Support
10   Target
11   nativecodegen
12   )
13
14 set(MCJITTestsSources
15   MCJITTest.cpp
16   MCJITCAPITest.cpp
17   MCJITMemoryManagerTest.cpp
18   MCJITMultipleModuleTest.cpp
19   MCJITObjectCacheTest.cpp
20   )
21
22 if(MSVC)
23   list(APPEND MCJITTestsSources MCJITTests.def)
24 endif()
25
26 add_llvm_unittest(MCJITTests
27   ${MCJITTestsSources}
28   )
29
30 if(MINGW OR CYGWIN)
31   set_property(TARGET MCJITTests PROPERTY LINK_FLAGS -Wl,--export-all-symbols)
32 endif()