1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2024-12-16 11:30:51 +00:00
llvm-6502/unittests/ExecutionEngine/CMakeLists.txt

15 lines
327 B
CMake

set(LLVM_LINK_COMPONENTS
interpreter
)
add_llvm_unittest(ExecutionEngineTests
ExecutionEngineTest.cpp
)
# Include JIT/MCJIT tests only if native arch is a JIT target.
list(FIND LLVM_TARGETS_WITH_JIT "${LLVM_NATIVE_ARCH}" have_jit)
if (NOT have_jit EQUAL -1 )
add_subdirectory(JIT)
add_subdirectory(MCJIT)
endif()