aboutsummaryrefslogtreecommitdiff
path: root/unittests/ExecutionEngine/CMakeLists.txt
blob: 4eefc1e3bb1b0ddcc758cd81311005a4893dde53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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()