1set(LLVM_LINK_COMPONENTS 2 Support 3 ) 4 5add_clang_library(clangApplyReplacements STATIC 6 lib/Tooling/ApplyReplacements.cpp 7 8 DEPENDS 9 ClangDriverOptions 10) 11 12clang_target_link_libraries(clangApplyReplacements 13 PRIVATE 14 clangAST 15 clangBasic 16 clangRewrite 17 clangToolingCore 18 clangToolingRefactoring 19 ) 20 21include_directories( 22 ${CMAKE_CURRENT_SOURCE_DIR} 23 include 24 ) 25add_subdirectory(tool) 26