mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
36fcfaf54e
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229351 91177308-0d34-0410-b5e6-96231b3b80d8
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()
|