mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
2f6f860aaa
Approved by Jim Grosbach, Lang Hames, Rafael Espindola. This reinstates commits r215111, 215115, 215116, 215117, 215136. llvm-svn: 216982
33 lines
512 B
CMake
33 lines
512 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Analysis
|
|
Core
|
|
ExecutionEngine
|
|
IPO
|
|
MC
|
|
MCJIT
|
|
ScalarOpts
|
|
Support
|
|
Target
|
|
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()
|