[Lldb-commits] [lldb] [lldb][windows] copy vcpkg runtime dlls (PR #200416)
Charles Zablit via lldb-commits
lldb-commits at lists.llvm.org
Tue Jun 2 03:49:04 PDT 2026
================
@@ -157,6 +157,16 @@ function(finish_swig_python swig_target lldb_python_bindings_dir lldb_python_tar
create_relative_symlink(${swig_target} ${LIBLLDB_SYMLINK_DEST}
${lldb_python_target_dir}/native/ ${LIBLLDB_SYMLINK_OUTPUT_FILE})
+ if(WIN32 AND DEFINED VCPKG_INSTALLED_DIR AND DEFINED VCPKG_TARGET_TRIPLET)
+ file(GLOB _lldb_vcpkg_runtime_dlls
+ "${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/bin/*.dll")
----------------
charles-zablit wrote:
Yes, Win32 and the C runtime both handle it. `cmd.exe` does not work well with it. CMake normalizes the paths internally so this won't be an issue. I was able to test it at desk.
https://github.com/llvm/llvm-project/pull/200416
More information about the lldb-commits
mailing list