[llvm-branch-commits] [clang-tools-extra-branch] r278997 - Merging r278949: (excluding the clang-include-fixer.el part)

Hans Wennborg via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Aug 17 15:21:18 PDT 2016


Author: hans
Date: Wed Aug 17 17:21:18 2016
New Revision: 278997

URL: http://llvm.org/viewvc/llvm-project?rev=278997&view=rev
Log:
Merging r278949: (excluding the clang-include-fixer.el part)
------------------------------------------------------------------------
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

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

Modified:
    clang-tools-extra/branches/release_39/   (props changed)
    clang-tools-extra/branches/release_39/include-fixer/find-all-symbols/tool/CMakeLists.txt
    clang-tools-extra/branches/release_39/include-fixer/tool/CMakeLists.txt

Propchange: clang-tools-extra/branches/release_39/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Aug 17 17:21:18 2016
@@ -1 +1 @@
-/clang-tools-extra/trunk:275943,277097
+/clang-tools-extra/trunk:275943,277097,278949

Modified: clang-tools-extra/branches/release_39/include-fixer/find-all-symbols/tool/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/branches/release_39/include-fixer/find-all-symbols/tool/CMakeLists.txt?rev=278997&r1=278996&r2=278997&view=diff
==============================================================================
--- clang-tools-extra/branches/release_39/include-fixer/find-all-symbols/tool/CMakeLists.txt (original)
+++ clang-tools-extra/branches/release_39/include-fixer/find-all-symbols/tool/CMakeLists.txt Wed Aug 17 17:21:18 2016
@@ -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)

Modified: clang-tools-extra/branches/release_39/include-fixer/tool/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/branches/release_39/include-fixer/tool/CMakeLists.txt?rev=278997&r1=278996&r2=278997&view=diff
==============================================================================
--- clang-tools-extra/branches/release_39/include-fixer/tool/CMakeLists.txt (original)
+++ clang-tools-extra/branches/release_39/include-fixer/tool/CMakeLists.txt Wed Aug 17 17:21:18 2016
@@ -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,10 @@ target_link_libraries(clang-include-fixe
   clangToolingCore
   findAllSymbols
   )
+
+install(TARGETS clang-include-fixer
+  RUNTIME DESTINATION bin)
+
+install(PROGRAMS clang-include-fixer.py
+  DESTINATION share/clang
+  COMPONENT clang-include-fixer)




More information about the llvm-branch-commits mailing list