Eugene.Zelenko created this revision.
Eugene.Zelenko added reviewers: ioeric, bkramer, hokein.
Eugene.Zelenko added a subscriber: cfe-commits.
Eugene.Zelenko set the repository for this revision to rL LLVM.

I tested this changes on my RHEL 6 build.

Repository:
  rL LLVM

https://reviews.llvm.org/D23045

Files:
  include-fixer/find-all-symbols/tool/CMakeLists.txt
  include-fixer/tool/CMakeLists.txt

Index: include-fixer/tool/CMakeLists.txt
===================================================================
--- include-fixer/tool/CMakeLists.txt
+++ 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: include-fixer/find-all-symbols/tool/CMakeLists.txt
===================================================================
--- include-fixer/find-all-symbols/tool/CMakeLists.txt
+++ include-fixer/find-all-symbols/tool/CMakeLists.txt
@@ -1,8 +1,10 @@
 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
 
-add_clang_executable(find-all-symbols FindAllSymbolsMain.cpp)
+add_clang_executable(find-all-symbols
+  FindAllSymbolsMain.cpp
+  )
+
 target_link_libraries(find-all-symbols
-
   clangAST
   clangASTMatchers
   clangBasic
@@ -11,3 +13,10 @@
   clangTooling
   findAllSymbols
   )
+
+install(TARGETS find-all-symbols
+  RUNTIME DESTINATION bin)
+
+install(PROGRAMS run-find-all-symbols.py
+  DESTINATION share/clang
+  COMPONENT find-all-symbols)


Index: include-fixer/tool/CMakeLists.txt
===================================================================
--- include-fixer/tool/CMakeLists.txt
+++ 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: include-fixer/find-all-symbols/tool/CMakeLists.txt
===================================================================
--- include-fixer/find-all-symbols/tool/CMakeLists.txt
+++ include-fixer/find-all-symbols/tool/CMakeLists.txt
@@ -1,8 +1,10 @@
 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
 
-add_clang_executable(find-all-symbols FindAllSymbolsMain.cpp)
+add_clang_executable(find-all-symbols
+  FindAllSymbolsMain.cpp
+  )
+
 target_link_libraries(find-all-symbols
-
   clangAST
   clangASTMatchers
   clangBasic
@@ -11,3 +13,10 @@
   clangTooling
   findAllSymbols
   )
+
+install(TARGETS find-all-symbols
+  RUNTIME DESTINATION bin)
+
+install(PROGRAMS run-find-all-symbols.py
+  DESTINATION share/clang
+  COMPONENT find-all-symbols)
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to