blob: 81ff00c09c2aa7d180ee6c22e61e22a46e97f834 [file] [log] [blame]
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
add_clang_tool(clang-include-fixer
ClangIncludeFixer.cpp
)
clang_target_link_libraries(clang-include-fixer
PRIVATE
clangBasic
clangFormat
clangFrontend
clangRewrite
clangSerialization
clangTooling
clangToolingCore
)
target_link_libraries(clang-include-fixer
PRIVATE
clangIncludeFixer
findAllSymbols
)
install(FILES clang-include-fixer.el
DESTINATION "${CMAKE_INSTALL_DATADIR}/clang"
COMPONENT clang-include-fixer)
install(FILES clang-include-fixer.py
DESTINATION "${CMAKE_INSTALL_DATADIR}/clang"
COMPONENT clang-include-fixer)