[Lldb-commits] [PATCH] D86235: Fix swig scripts install target name
António Afonso via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 21 14:53:17 PDT 2020
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG02bf5632a94d: Fix swig scripts install target name (authored by aadsm).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86235/new/
https://reviews.llvm.org/D86235
Files:
lldb/bindings/python/CMakeLists.txt
Index: lldb/bindings/python/CMakeLists.txt
===================================================================
--- lldb/bindings/python/CMakeLists.txt
+++ lldb/bindings/python/CMakeLists.txt
@@ -163,17 +163,17 @@
string(REPLACE ${CMAKE_CFG_INTDIR} "\$\{CMAKE_INSTALL_CONFIG_NAME\}" LLDB_PYTHON_INSTALL_PATH ${LLDB_PYTHON_INSTALL_PATH})
string(REPLACE ${CMAKE_CFG_INTDIR} "\$\{CMAKE_INSTALL_CONFIG_NAME\}" lldb_python_target_dir ${lldb_python_target_dir})
endif()
- set(swig_scripts_target "${swig_target}_scripts")
- set(swig_scripts_install_target "${swig_target}_scripts_install")
- add_custom_target(${swig_scripts_target})
- add_dependencies(${swig_scripts_target} ${swig_target})
+ set(python_scripts_target "lldb-python-scripts")
+ set(python_scripts_install_target "install-${python_scripts_target}")
+ add_custom_target(${python_scripts_target})
+ add_dependencies(${python_scripts_target} ${swig_target})
install(DIRECTORY ${lldb_python_target_dir}/../
DESTINATION ${LLDB_PYTHON_INSTALL_PATH}
- COMPONENT ${swig_scripts_target})
+ COMPONENT ${python_scripts_target})
if (NOT LLVM_ENABLE_IDE)
- add_llvm_install_targets(${swig_scripts_install_target}
- COMPONENT ${swig_scripts_target}
- DEPENDS ${swig_scripts_target})
+ add_llvm_install_targets(${python_scripts_install_target}
+ COMPONENT ${python_scripts_target}
+ DEPENDS ${python_scripts_target})
endif()
# Add a Post-Build Event to copy the custom Python DLL to the lldb binaries dir so that Windows can find it when launching
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86235.287117.patch
Type: text/x-patch
Size: 1674 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200821/c94d783b/attachment.bin>
More information about the lldb-commits
mailing list