1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/unittests/ExecutionEngine/CMakeLists.txt
2013-12-10 11:13:32 +00:00

18 lines
362 B
CMake

set(LLVM_LINK_COMPONENTS
Core
ExecutionEngine
Interpreter
Support
)
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()