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

24 lines
380 B
CMake

set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
asmparser
bitreader
support
mc
)
add_clang_library(clangApplyReplacements
lib/Tooling/ApplyReplacements.cpp
)
target_link_libraries(clangApplyReplacements
clangTooling
clangBasic
clangRewriteFrontend
clangFormat
)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
include
)
add_subdirectory(tool)