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

20 lines
356 B
CMake

set(LLVM_LINK_COMPONENTS
Support
)
add_clang_tool(clang-apply-replacements
ClangApplyReplacementsMain.cpp
)
target_link_libraries(clang-apply-replacements
PRIVATE
clangApplyReplacements
clangBasic
clangFormat
clangRewrite
clangToolingCore
clangToolingRefactor
)
install(TARGETS clang-apply-replacements
RUNTIME DESTINATION bin)