mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 23:42:52 +01:00
36788b2f65
Re-submitting with fix for OCaml dependency problems (removing dependency on SectionMemoryManager when it isn't used). Patch by Fili Pizlo llvm-svn: 180720
28 lines
445 B
CMake
28 lines
445 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
asmparser
|
|
bitreader
|
|
bitwriter
|
|
jit
|
|
mcjit
|
|
nativecodegen
|
|
)
|
|
|
|
set(MCJITTestsSources
|
|
MCJITTest.cpp
|
|
MCJITCAPITest.cpp
|
|
MCJITMemoryManagerTest.cpp
|
|
MCJITObjectCacheTest.cpp
|
|
)
|
|
|
|
if(MSVC)
|
|
list(APPEND MCJITTestsSources MCJITTests.def)
|
|
endif()
|
|
|
|
add_llvm_unittest(MCJITTests
|
|
${MCJITTestsSources}
|
|
)
|
|
|
|
if(MINGW OR CYGWIN)
|
|
set_property(TARGET MCJITTests PROPERTY LINK_FLAGS -Wl,--export-all-symbols)
|
|
endif()
|