1include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
2
3add_clang_tool(clang-include-fixer
4  ClangIncludeFixer.cpp
5  )
6
7clang_target_link_libraries(clang-include-fixer
8  PRIVATE
9  clangBasic
10  clangFormat
11  clangFrontend
12  clangRewrite
13  clangSerialization
14  clangTooling
15  clangToolingCore
16  )
17target_link_libraries(clang-include-fixer
18  PRIVATE
19  clangIncludeFixer
20  findAllSymbols
21  )
22
23install(PROGRAMS clang-include-fixer.el
24  DESTINATION share/clang
25  COMPONENT clang-include-fixer)
26install(PROGRAMS clang-include-fixer.py
27  DESTINATION share/clang
28  COMPONENT clang-include-fixer)
29