[PATCH] D23045: [Include-fixer] Install executables and support scripts

Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 17 10:35:55 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL278949: [Include-fixer] Install executables and support scripts (authored by eugenezelenko).

Changed prior to commit:
  https://reviews.llvm.org/D23045?vs=66414&id=68384#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D23045

Files:
  clang-tools-extra/trunk/include-fixer/find-all-symbols/tool/CMakeLists.txt
  clang-tools-extra/trunk/include-fixer/tool/CMakeLists.txt

Index: clang-tools-extra/trunk/include-fixer/tool/CMakeLists.txt
===================================================================
--- clang-tools-extra/trunk/include-fixer/tool/CMakeLists.txt
+++ clang-tools-extra/trunk/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
@@ -11,3 +14,13 @@
   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)
Index: clang-tools-extra/trunk/include-fixer/find-all-symbols/tool/CMakeLists.txt
===================================================================
--- clang-tools-extra/trunk/include-fixer/find-all-symbols/tool/CMakeLists.txt
+++ clang-tools-extra/trunk/include-fixer/find-all-symbols/tool/CMakeLists.txt
@@ -1,13 +1,22 @@
 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
   clangFrontend
   clangLex
   clangTooling
   findAllSymbols
   )
+
+install(TARGETS find-all-symbols
+  RUNTIME DESTINATION bin)
+
+install(PROGRAMS run-find-all-symbols.py
+  DESTINATION share/clang
+  COMPONENT find-all-symbols)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23045.68384.patch
Type: text/x-patch
Size: 1750 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160817/00f50297/attachment.bin>


More information about the cfe-commits mailing list