mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
0dd5b347b1
llvm-svn: 229351
34 lines
526 B
CMake
34 lines
526 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Analysis
|
|
Core
|
|
ExecutionEngine
|
|
IPO
|
|
MC
|
|
MCJIT
|
|
RuntimeDyld
|
|
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()
|