llvm-6502/tools/lli/CMakeLists.txt
Pete Cooper 7e93f3b723 Add TransformUtils dependency to lli.
After r236465, Orc uses ValueMaterializer and so needs to link against TransformUtils to get the ValueMaterializer::anchor().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236467 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-04 22:33:39 +00:00

45 lines
692 B
CMake

add_subdirectory(ChildTarget)
set(LLVM_LINK_COMPONENTS
CodeGen
Core
ExecutionEngine
IRReader
Instrumentation
Interpreter
MC
MCJIT
Object
OrcJIT
RuntimeDyld
SelectionDAG
Support
TransformUtils
native
)
if( LLVM_USE_OPROFILE )
set(LLVM_LINK_COMPONENTS
${LLVM_LINK_COMPONENTS}
OProfileJIT
)
endif( LLVM_USE_OPROFILE )
if( LLVM_USE_INTEL_JITEVENTS )
set(LLVM_LINK_COMPONENTS
${LLVM_LINK_COMPONENTS}
DebugInfoDWARF
IntelJITEvents
Object
)
endif( LLVM_USE_INTEL_JITEVENTS )
add_llvm_tool(lli
lli.cpp
OrcLazyJIT.cpp
RemoteMemoryManager.cpp
RemoteTarget.cpp
RemoteTargetExternal.cpp
)
export_executable_symbols(lli)