[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang-tools-extra / clang-include-fixer / tool / CMakeLists.txt
blob5b9e00ab87cd87ac0087380f2857400ac8a5795f
1 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
3 add_clang_tool(clang-include-fixer
4   ClangIncludeFixer.cpp
5   )
7 clang_target_link_libraries(clang-include-fixer
8   PRIVATE
9   clangBasic
10   clangFormat
11   clangFrontend
12   clangRewrite
13   clangSerialization
14   clangTooling
15   clangToolingCore
16   )
17 target_link_libraries(clang-include-fixer
18   PRIVATE
19   clangIncludeFixer
20   findAllSymbols
21   )
23 install(PROGRAMS clang-include-fixer.el
24   DESTINATION "${CMAKE_INSTALL_DATADIR}/clang"
25   COMPONENT clang-include-fixer)
26 install(PROGRAMS clang-include-fixer.py
27   DESTINATION "${CMAKE_INSTALL_DATADIR}/clang"
28   COMPONENT clang-include-fixer)