mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-15 19:39:00 +08:00
22 lines
730 B
Markdown
22 lines
730 B
Markdown
|
# vcpkg_copy_tool_dependencies
|
||
|
|
||
|
Copy all DLL dependencies of built tools into the tool folder.
|
||
|
|
||
|
## Usage
|
||
|
```cmake
|
||
|
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.
|
||
|
|
||
|
## Examples
|
||
|
|
||
|
* [glib](https://github.com/Microsoft/vcpkg/blob/master/ports/glib/portfile.cmake)
|
||
|
* [fltk](https://github.com/Microsoft/vcpkg/blob/master/ports/fltk/portfile.cmake)
|
||
|
|
||
|
## Source
|
||
|
[scripts/cmake/vcpkg_copy_tool_dependencies.cmake](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_copy_tool_dependencies.cmake)
|