Home | History | Annotate | Download | only in lli
      1 add_subdirectory(ChildTarget)
      2 
      3 set(LLVM_LINK_COMPONENTS
      4   CodeGen
      5   Core
      6   ExecutionEngine
      7   IRReader
      8   Instrumentation
      9   Interpreter
     10   JIT
     11   MCJIT
     12   SelectionDAG
     13   Support
     14   native
     15   )
     16 
     17 if( LLVM_USE_OPROFILE )
     18   set(LLVM_LINK_COMPONENTS
     19     ${LLVM_LINK_COMPONENTS}
     20     OProfileJIT
     21     )
     22 endif( LLVM_USE_OPROFILE )
     23 
     24 if( LLVM_USE_INTEL_JITEVENTS )
     25   set(LLVM_LINK_COMPONENTS
     26     ${LLVM_LINK_COMPONENTS}
     27     DebugInfo
     28     IntelJITEvents
     29     Object
     30     )
     31 endif( LLVM_USE_INTEL_JITEVENTS )
     32 
     33 add_llvm_tool(lli
     34   lli.cpp
     35   RemoteMemoryManager.cpp
     36   RemoteTarget.cpp
     37   RemoteTargetExternal.cpp
     38   )
     39 set_target_properties(lli PROPERTIES ENABLE_EXPORTS 1)
     40