1if ( LLVM_INCLUDE_UTILS ) 2 add_subdirectory(ChildTarget) 3endif() 4 5set(LLVM_LINK_COMPONENTS 6 CodeGen 7 Core 8 ExecutionEngine 9 IRReader 10 Instrumentation 11 Interpreter 12 MC 13 MCJIT 14 Object 15 OrcJIT 16 RuntimeDyld 17 SelectionDAG 18 Support 19 Target 20 TransformUtils 21 native 22 ) 23 24if( LLVM_USE_OPROFILE ) 25 set(LLVM_LINK_COMPONENTS 26 ${LLVM_LINK_COMPONENTS} 27 OProfileJIT 28 ) 29endif( LLVM_USE_OPROFILE ) 30 31if( LLVM_USE_INTEL_JITEVENTS ) 32 set(LLVM_LINK_COMPONENTS 33 ${LLVM_LINK_COMPONENTS} 34 DebugInfoDWARF 35 IntelJITEvents 36 Object 37 ) 38endif( LLVM_USE_INTEL_JITEVENTS ) 39 40add_llvm_tool(lli 41 lli.cpp 42 OrcLazyJIT.cpp 43 ) 44export_executable_symbols(lli) 45