#set( LLVM_LINK_COMPONENTS
#  ${LLVM_TARGETS_TO_BUILD}
#  bitreader
#  bitwriter
#  codegen
#  instrumentation
#  ipo
#  linker
#  selectiondag
#  )

add_cling_executable(cling
  cling.cpp)

target_link_libraries(cling
  clingUserInterface
  clingMetaProcessor
  clingInterpreter
  clangFrontend
  clangSerialization
  clangDriver
  clangCodeGen
  clangParse
  clangSema
  clangAnalysis
  clangRewrite
  clangAST
  clangLex
  clangBasic
  )

install(TARGETS cling
  RUNTIME DESTINATION bin)

#set( LLVM_LINK_COMPONENTS
#  ${LLVM_TARGETS_TO_BUILD}
#  bitreader
#  bitwriter
#  codegen
#  instrumentation
#  ipo
#  linker
#  selectiondag
#  )

add_cling_executable(cling
  cling.cpp)

target_link_libraries(cling
  clingUserInterface
  clingMetaProcessor
  clingInterpreter
  clingUtils
  clangFrontend
  clangSerialization
  clangDriver
  clangCodeGen
  clangParse
  clangSema
  clangAnalysis
  clangRewrite
  clangAST
  clangLex
  clangBasic
  )

install(TARGETS cling
  RUNTIME DESTINATION bin)

Add library clingUtils to the driver as well.
Add library clingUtils to the driver as well.


git-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@44961 27541ba8-7e3a-0410-8455-c3a389f83636
