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

23 lines
366 B
CMake
Raw Normal View History

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
)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
include
)
add_subdirectory(tool)