Home | History | Annotate | Download | only in lli
      1 if ( LLVM_INCLUDE_UTILS )
      2   add_subdirectory(ChildTarget)
      3 endif()
      4 
      5 set(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 
     24 if( LLVM_USE_OPROFILE )
     25   set(LLVM_LINK_COMPONENTS
     26     ${LLVM_LINK_COMPONENTS}
     27     OProfileJIT
     28     )
     29 endif( LLVM_USE_OPROFILE )
     30 
     31 if( LLVM_USE_INTEL_JITEVENTS )
     32   set(LLVM_LINK_COMPONENTS
     33     ${LLVM_LINK_COMPONENTS}
     34     DebugInfoDWARF
     35     IntelJITEvents
     36     Object
     37     )
     38 endif( LLVM_USE_INTEL_JITEVENTS )
     39 
     40 add_llvm_tool(lli
     41   lli.cpp
     42   OrcLazyJIT.cpp
     43   )
     44 export_executable_symbols(lli)
     45