Home | History | Annotate | Download | only in MCJIT
      1 set(LLVM_LINK_COMPONENTS
      2   Analysis
      3   Core
      4   ExecutionEngine
      5   IPO
      6   MC
      7   MCJIT
      8   RuntimeDyld
      9   ScalarOpts
     10   Support
     11   Target
     12   nativecodegen
     13   )
     14 
     15 set(MCJITTestsSources
     16   MCJITTest.cpp
     17   MCJITCAPITest.cpp
     18   MCJITMemoryManagerTest.cpp
     19   MCJITMultipleModuleTest.cpp
     20   MCJITObjectCacheTest.cpp
     21   )
     22 
     23 if(MSVC)
     24   list(APPEND MCJITTestsSources MCJITTests.def)
     25 endif()
     26 
     27 add_llvm_unittest(MCJITTests
     28   ${MCJITTestsSources}
     29   )
     30 
     31 if(MINGW OR CYGWIN)
     32   set_property(TARGET MCJITTests PROPERTY LINK_FLAGS -Wl,--export-all-symbols)
     33 endif()
     34