[Include-fixer] Install executables and support scripts

Differential revision: https://reviews.llvm.org/D23045

llvm-svn: 278949
This commit is contained in:
Eugene Zelenko 2016-08-17 17:27:56 +00:00
parent ccd546e953
commit 473da657c7
2 changed files with 25 additions and 3 deletions

View File

@ -1,8 +1,10 @@
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
add_clang_executable(find-all-symbols FindAllSymbolsMain.cpp)
target_link_libraries(find-all-symbols
add_clang_executable(find-all-symbols
FindAllSymbolsMain.cpp
)
target_link_libraries(find-all-symbols
clangAST
clangASTMatchers
clangBasic
@ -11,3 +13,10 @@ target_link_libraries(find-all-symbols
clangTooling
findAllSymbols
)
install(TARGETS find-all-symbols
RUNTIME DESTINATION bin)
install(PROGRAMS run-find-all-symbols.py
DESTINATION share/clang
COMPONENT find-all-symbols)

View File

@ -1,6 +1,9 @@
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
add_clang_executable(clang-include-fixer ClangIncludeFixer.cpp)
add_clang_executable(clang-include-fixer
ClangIncludeFixer.cpp
)
target_link_libraries(clang-include-fixer
clangBasic
clangFormat
@ -11,3 +14,13 @@ target_link_libraries(clang-include-fixer
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)