2013-12-10 10:30:08 +00:00
|
|
|
add_subdirectory(ChildTarget)
|
2012-03-13 08:33:15 +00:00
|
|
|
|
2013-12-10 11:13:32 +00:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
|
|
CodeGen
|
|
|
|
Core
|
|
|
|
ExecutionEngine
|
|
|
|
IRReader
|
|
|
|
Instrumentation
|
|
|
|
Interpreter
|
2014-08-07 22:02:54 +00:00
|
|
|
JIT
|
2014-07-14 05:01:53 +00:00
|
|
|
MC
|
2013-12-10 11:13:32 +00:00
|
|
|
MCJIT
|
2014-07-14 05:01:53 +00:00
|
|
|
Object
|
2013-12-10 11:13:32 +00:00
|
|
|
SelectionDAG
|
|
|
|
Support
|
|
|
|
native
|
|
|
|
)
|
2010-09-13 23:59:48 +00:00
|
|
|
|
2012-03-13 08:33:15 +00:00
|
|
|
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}
|
2013-01-28 19:52:37 +00:00
|
|
|
DebugInfo
|
2012-03-13 08:33:15 +00:00
|
|
|
IntelJITEvents
|
2013-01-28 19:52:37 +00:00
|
|
|
Object
|
2012-03-13 08:33:15 +00:00
|
|
|
)
|
|
|
|
endif( LLVM_USE_INTEL_JITEVENTS )
|
|
|
|
|
2008-09-22 01:08:49 +00:00
|
|
|
add_llvm_tool(lli
|
|
|
|
lli.cpp
|
2013-10-04 00:49:38 +00:00
|
|
|
RemoteMemoryManager.cpp
|
2012-09-05 18:15:08 +00:00
|
|
|
RemoteTarget.cpp
|
2013-10-02 17:12:36 +00:00
|
|
|
RemoteTargetExternal.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
)
|
2013-12-05 01:01:58 +00:00
|
|
|
set_target_properties(lli PROPERTIES ENABLE_EXPORTS 1)
|