set(LLVM_LINK_COMPONENTS
  ${LLVM_TARGETS_TO_BUILD}
  asmparser
  bitreader
  support
  mc
  )

add_clang_executable(arcmt-test
  arcmt-test.cpp
  )

target_link_libraries(arcmt-test
  clangARCMigrate
  clangEdit
  clangRewriteCore
  )

set(LLVM_LINK_COMPONENTS
  support
  )

add_clang_executable(arcmt-test
  arcmt-test.cpp
  )

target_link_libraries(arcmt-test
  clangARCMigrate
  clangBasic
  clangFrontend
  clangLex
  )

Reorganize link libraries with *actually referenced* libs from arcmt-test.cpp.
[CMake] arcmt-test: Reorganize link libraries with *actually referenced* libs from arcmt-test.cpp.

arcmt-test doesn't depend on llvm codegen.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@200563 91177308-0d34-0410-b5e6-96231b3b80d8
