Skip to content

Commit

Permalink
Merging r278949: (excluding the clang-include-fixer.el part)
Browse files Browse the repository at this point in the history
------------------------------------------------------------------------
r278949 | eugenezelenko | 2016-08-17 10:27:56 -0700 (Wed, 17 Aug 2016) | 4 lines

[Include-fixer] Install executables and support scripts

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

------------------------------------------------------------------------

llvm-svn: 278997
  • Loading branch information
zmodem committed Aug 17, 2016
1 parent a1f6fd3 commit c400b14
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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)
12 changes: 11 additions & 1 deletion clang-tools-extra/include-fixer/tool/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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,10 @@ target_link_libraries(clang-include-fixer
clangToolingCore
findAllSymbols
)

install(TARGETS clang-include-fixer
RUNTIME DESTINATION bin)

install(PROGRAMS clang-include-fixer.py
DESTINATION share/clang
COMPONENT clang-include-fixer)

0 comments on commit c400b14

Please sign in to comment.