[Lldb-commits] [PATCH] D28155: Force the installation of lldb-server and lldb-argdumper

Sylvestre Ledru via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 29 04:13:00 PST 2016


sylvestre.ledru created this revision.
sylvestre.ledru added a reviewer: beanz.
sylvestre.ledru added a subscriber: LLDB.
Herald added a subscriber: mgorny.

For some reasons, the usage of add_lldb_tool instead of add_lldb_executable causes these two binaries not be installed.
This patch fixes the issue


https://reviews.llvm.org/D28155

Files:
  llvm-toolchain-snapshot-4.0~svn290518/lldb/tools/argdumper/CMakeLists.txt
  llvm-toolchain-snapshot-4.0~svn290518/lldb/tools/lldb-server/CMakeLists.txt


Index: llvm-toolchain-snapshot-4.0~svn290518/lldb/tools/lldb-server/CMakeLists.txt
===================================================================
--- llvm-toolchain-snapshot-4.0~svn290518/lldb/tools/lldb-server/CMakeLists.txt
+++ llvm-toolchain-snapshot-4.0~svn290518/lldb/tools/lldb-server/CMakeLists.txt
@@ -188,3 +188,7 @@
 target_link_libraries(lldb-server ${LLDB_SYSTEM_LIBS})
 
 set_target_properties(lldb-server PROPERTIES VERSION ${LLDB_VERSION})
+
+install(TARGETS lldb-server
+  RUNTIME DESTINATION bin)
+
Index: llvm-toolchain-snapshot-4.0~svn290518/lldb/tools/argdumper/CMakeLists.txt
===================================================================
--- llvm-toolchain-snapshot-4.0~svn290518/lldb/tools/argdumper/CMakeLists.txt
+++ llvm-toolchain-snapshot-4.0~svn290518/lldb/tools/argdumper/CMakeLists.txt
@@ -11,3 +11,5 @@
 endif()
 llvm_config(lldb-argdumper ${LLVM_LINK_COMPONENTS})
 
+install(TARGETS lldb-argdumper
+  RUNTIME DESTINATION bin)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28155.82659.patch
Type: text/x-patch
Size: 968 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20161229/c3f5a39a/attachment.bin>


More information about the lldb-commits mailing list