[PATCH] D68370: Componentize lldb/scripts to use with LLVM_DISTRIBUTION_COMPONENTS
António Afonso via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 4 11:10:48 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL373768: Componentize lldb/scripts to use with LLVM_DISTRIBUTION_COMPONENTS (authored by aadsm, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D68370?vs=223094&id=223251#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68370/new/
https://reviews.llvm.org/D68370
Files:
lldb/trunk/scripts/CMakeLists.txt
Index: lldb/trunk/scripts/CMakeLists.txt
===================================================================
--- lldb/trunk/scripts/CMakeLists.txt
+++ lldb/trunk/scripts/CMakeLists.txt
@@ -69,5 +69,14 @@
OUTPUT_STRIP_TRAILING_WHITESPACE)
# Install the LLDB python module
- install(DIRECTORY ${SWIG_PYTHON_DIR}/ DESTINATION ${SWIG_INSTALL_DIR})
+ add_custom_target(lldb-python-scripts)
+ add_dependencies(lldb-python-scripts finish_swig)
+ install(DIRECTORY ${SWIG_PYTHON_DIR}/
+ DESTINATION ${SWIG_INSTALL_DIR}
+ COMPONENT lldb-scripts)
+ if (NOT LLVM_ENABLE_IDE)
+ add_llvm_install_targets(install-lldb-python-scripts
+ COMPONENT lldb-python-scripts
+ DEPENDS lldb-python-scripts)
+ endif()
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68370.223251.patch
Type: text/x-patch
Size: 782 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191004/98e06819/attachment.bin>
More information about the llvm-commits
mailing list