mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
I made my best guess at the Makefile, since I don't have a make build. I'm not sure if it should be valid to add an empty list of things, but it seemed the sort of degenerate case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230196 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
476 B
CMake
23 lines
476 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Core
|
|
ExecutionEngine
|
|
Interpreter
|
|
MC
|
|
OrcJIT
|
|
RuntimeDyld
|
|
Support
|
|
)
|
|
|
|
add_llvm_unittest(ExecutionEngineTests
|
|
ExecutionEngineTest.cpp
|
|
)
|
|
|
|
add_subdirectory(Orc)
|
|
|
|
# Include MCJIT tests only if native arch is a built JIT target.
|
|
list(FIND LLVM_TARGETS_TO_BUILD "${LLVM_NATIVE_ARCH}" build_idx)
|
|
list(FIND LLVM_TARGETS_WITH_JIT "${LLVM_NATIVE_ARCH}" jit_idx)
|
|
if (NOT build_idx LESS 0 AND NOT jit_idx LESS 0)
|
|
add_subdirectory(MCJIT)
|
|
endif()
|