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