Home | History | Annotate | Download | only in MCJIT
      1 set(LLVM_LINK_COMPONENTS
      2   Analysis
      3   Core
      4   ExecutionEngine
      5   IPO
      6   JIT
      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()
     33