Skip to content

Commit

Permalink
[Include-fixer] Install executables and support scripts
Browse files Browse the repository at this point in the history
Differential revision: https://reviews.llvm.org/D23045

llvm-svn: 278949
  • Loading branch information
EugeneZelenko committed Aug 17, 2016
1 parent ccd546e commit 473da65
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
@@ -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
Expand All @@ -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)
15 changes: 14 additions & 1 deletion clang-tools-extra/include-fixer/tool/CMakeLists.txt
@@ -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
Expand All @@ -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)

0 comments on commit 473da65

Please sign in to comment.