Moving SectionMemoryManager into RuntimeDyld and adding unit tests for it.
[oota-llvm.git] / unittests / ExecutionEngine / MCJIT / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   asmparser
3   bitreader
4   bitwriter
5   jit
6   mcjit
7   nativecodegen
8   )
9
10 set(MCJITTestsSources
11   MCJITTest.cpp
12   MCJITMemoryManagerTest.cpp
13   )
14
15 if(MSVC)
16   list(APPEND MCJITTestsSources MCJITTests.def)
17 endif()
18
19 add_llvm_unittest(MCJITTests
20   ${MCJITTestsSources}
21   )
22
23 if(MINGW OR CYGWIN)
24   set_property(TARGET MCJITTests PROPERTY LINK_FLAGS -Wl,--export-all-symbols)
25 endif()