mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 15:32:52 +01:00
6f0e782b64
llvm-svn: 191723
29 lines
475 B
CMake
29 lines
475 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
asmparser
|
|
bitreader
|
|
bitwriter
|
|
jit
|
|
mcjit
|
|
nativecodegen
|
|
)
|
|
|
|
set(MCJITTestsSources
|
|
MCJITTest.cpp
|
|
MCJITCAPITest.cpp
|
|
MCJITMemoryManagerTest.cpp
|
|
MCJITMultipleModuleTest.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()
|