Mercurial > hg > CbC > CbC_llvm
view unittests/ExecutionEngine/CMakeLists.txt @ 147:c2174574ed3a
LLVM 10
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 14 Aug 2019 16:55:33 +0900 |
parents | afa8332a0e37 |
children |
line wrap: on
line source
set(LLVM_LINK_COMPONENTS Core ExecutionEngine Interpreter MC OrcJIT RuntimeDyld Support ) add_llvm_unittest(ExecutionEngineTests ExecutionEngineTest.cpp ) add_subdirectory(JITLink) 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()