comparison unittests/ExecutionEngine/CMakeLists.txt @ 77:54457678186b LLVM3.6

LLVM 3.6
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Mon, 08 Sep 2014 22:06:00 +0900
parents e4204d083e25
children 60c9769439b8
comparison
equal deleted inserted replaced
34:e874dbf0ad9d 77:54457678186b
1 set(LLVM_LINK_COMPONENTS 1 set(LLVM_LINK_COMPONENTS
2 Core 2 Core
3 ExecutionEngine 3 ExecutionEngine
4 Interpreter 4 Interpreter
5 MC
5 Support 6 Support
6 ) 7 )
7 8
8 add_llvm_unittest(ExecutionEngineTests 9 add_llvm_unittest(ExecutionEngineTests
9 ExecutionEngineTest.cpp 10 ExecutionEngineTest.cpp
10 ) 11 )
11 12
12 # Include JIT/MCJIT tests only if native arch is a JIT target. 13 # Include MCJIT tests only if native arch is a built JIT target.
13 list(FIND LLVM_TARGETS_WITH_JIT "${LLVM_NATIVE_ARCH}" have_jit) 14 list(FIND LLVM_TARGETS_TO_BUILD "${LLVM_NATIVE_ARCH}" build_idx)
14 if (NOT have_jit EQUAL -1 ) 15 list(FIND LLVM_TARGETS_WITH_JIT "${LLVM_NATIVE_ARCH}" jit_idx)
15 add_subdirectory(JIT) 16 if (NOT build_idx LESS 0 AND NOT jit_idx LESS 0)
16 add_subdirectory(MCJIT) 17 add_subdirectory(MCJIT)
17 endif() 18 endif()