Edit

vcpkg_copy_tool_dependencies

Copy all DLL dependencies of built tools into the tool folder.

Usage

vcpkg_copy_tool_dependencies(<${CURRENT_PACKAGES_DIR}/tools/${PORT}>)

Parameters

The path to the directory containing the tools.

Notes

This command should always be called by portfiles after they have finished rearranging the binary output, if they have any tools.

On Windows, this command uses the built-in vcpkg z-applocal implementation to copy dependencies by default. Set VCPKG_USE_LEGACY_APPLOCAL to use the legacy PowerShell applocal.ps1 implementation.

Source

scripts/cmake/vcpkg_copy_tool_dependencies.cmake