llvm/clang-tools-extra/clang-apply-replacements/CMakeLists.txt

set(LLVM_LINK_COMPONENTS
  Support
  )

add_clang_library(clangApplyReplacements
  lib/Tooling/ApplyReplacements.cpp

  DEPENDS
  ClangDriverOptions
)

clang_target_link_libraries(clangApplyReplacements
  PRIVATE
  clangAST
  clangBasic
  clangRewrite
  clangToolingCore
  clangToolingRefactoring
  )

include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}
  include
  )
add_subdirectory(tool)