forked from OSchip/llvm-project
28 lines
571 B
CMake
28 lines
571 B
CMake
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
|
|
|
|
add_clang_executable(clang-include-fixer
|
|
ClangIncludeFixer.cpp
|
|
)
|
|
|
|
target_link_libraries(clang-include-fixer
|
|
PRIVATE
|
|
clangBasic
|
|
clangFormat
|
|
clangFrontend
|
|
clangIncludeFixer
|
|
clangRewrite
|
|
clangTooling
|
|
clangToolingCore
|
|
findAllSymbols
|
|
)
|
|
|
|
install(TARGETS clang-include-fixer
|
|
RUNTIME DESTINATION bin)
|
|
|
|
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)
|