Home | History | Annotate | Download | only in MCJIT
      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()
     26