You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
584 B
29 lines
584 B
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(PROGRAMS clang-include-fixer.el
|
|
DESTINATION share/clang
|
|
COMPONENT clang-include-fixer)
|
|
install(PROGRAMS clang-include-fixer.py
|
|
DESTINATION share/clang
|
|
COMPONENT clang-include-fixer)
|