aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authormartin-s <webmaster@macside.net>2018-06-16 16:42:25 +0000
committerRobert Schumacher <roschuma@microsoft.com>2018-06-16 18:42:25 +0200
commitc2b9c33adf25ac78fac63ddd0ea9b26a923e1b6e (patch)
tree33828575872586965e7c943738cb359c558828c0 /docs
parent3726ce95576204cc8a2c37d07a1ae74b0b70c1d2 (diff)
downloadvcpkg-c2b9c33adf25ac78fac63ddd0ea9b26a923e1b6e.tar.gz
vcpkg-c2b9c33adf25ac78fac63ddd0ea9b26a923e1b6e.zip
Added parameter to vcpkg_copy_pdbs.cmake (#3688)
* - Added paths argument to locate pdbs. * n/a * - fixed line endings. * [vcpkg-copy-pdbs] Tweak argument to replace patterns instead of adding patterns. Add slightly more detailed documentation.
Diffstat (limited to 'docs')
-rw-r--r--docs/maintainers/vcpkg_copy_pdbs.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/maintainers/vcpkg_copy_pdbs.md b/docs/maintainers/vcpkg_copy_pdbs.md
index 6bfa488db..1583f777f 100644
--- a/docs/maintainers/vcpkg_copy_pdbs.md
+++ b/docs/maintainers/vcpkg_copy_pdbs.md
@@ -4,12 +4,18 @@ Automatically locate pdbs in the build tree and copy them adjacent to all DLLs.
## Usage
```cmake
-vcpkg_copy_pdbs()
+vcpkg_copy_pdbs([BUILD_PATHS <${CURRENT_PACKAGES_DIR}/bin/*.dll> ...])
```
## Notes
This command should always be called by portfiles after they have finished rearranging the binary output.
+## Parameters
+### BUILD_PATHS
+Path patterns passed to `file(GLOB_RECURSE)` for locating dlls.
+
+Defaults to `${CURRENT_PACKAGES_DIR}/bin/*.dll` and `${CURRENT_PACKAGES_DIR}/debug/bin/*.dll`.
+
## Examples
* [zlib](https://github.com/Microsoft/vcpkg/blob/master/ports/zlib/portfile.cmake)