X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2Flli%2FCMakeLists.txt;h=4af05969af16d62601cf4fde2e4a7fa74a435178;hb=67bd697ef77533a1af0621293eebb3cd51addf65;hp=4514da01a330d7985f6883c98cc80a99d776eab9;hpb=935338bd868aab26a81e627392d0f2578cd3d60e;p=oota-llvm.git diff --git a/tools/lli/CMakeLists.txt b/tools/lli/CMakeLists.txt index 4514da01a33..4af05969af1 100644 --- a/tools/lli/CMakeLists.txt +++ b/tools/lli/CMakeLists.txt @@ -1,5 +1,45 @@ -set(LLVM_LINK_COMPONENTS jit interpreter nativecodegen bitreader asmparser selectiondag) +add_subdirectory(ChildTarget) + +set(LLVM_LINK_COMPONENTS + CodeGen + Core + ExecutionEngine + IRReader + Instrumentation + Interpreter + MC + MCJIT + Object + OrcJIT + RuntimeDyld + SelectionDAG + Support + Target + 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)