view tools/lli/CMakeLists.txt @ 6:c8782e147cac

We became to give clang .cbc file
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Fri, 14 Jun 2013 16:49:18 +0900
parents 9ad51c7bc036
children
line wrap: on
line source


set(LLVM_LINK_COMPONENTS mcjit jit interpreter nativecodegen bitreader asmparser irreader selectiondag 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}
    DebugInfo
    IntelJITEvents
    Object
    )
endif( LLVM_USE_INTEL_JITEVENTS )

add_llvm_tool(lli
  lli.cpp
  RecordingMemoryManager.cpp
  RemoteTarget.cpp
  )