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) |