From 8646c6587b69b9294337c2034671b03da3d47291 Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Wed, 31 Mar 2021 20:54:44 +0200 Subject: [vcpkg/meson] fix some details (#15756) * [vcpkg_install_meson] add bin to path to run code generators * [vcpkg_configure_meson] deactivate native compiler in cross builds make x86 on x86_x64 a native instead of a cross build (as long as we are not building for UWP) * remove double spaces in _FLAGS remove unnecessary comments * change regex to take double - into account. * add missing removal of multiple spaces back into the regex * remove ws diff change * remove ws to reduce diff * Change macro to function Co-authored-by: Robert Schumacher * UWP is cross target. Co-authored-by: Robert Schumacher --- docs/maintainers/vcpkg_install_meson.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/maintainers/vcpkg_install_meson.md b/docs/maintainers/vcpkg_install_meson.md index 6d52dd11b..dcda9fb32 100644 --- a/docs/maintainers/vcpkg_install_meson.md +++ b/docs/maintainers/vcpkg_install_meson.md @@ -6,9 +6,13 @@ Builds a meson project previously configured with `vcpkg_configure_meson()`. ## Usage ```cmake -vcpkg_install_meson() +vcpkg_install_meson([ADD_BIN_TO_PATH]) ``` +## Parameters: +### ADD_BIN_TO_PATH +Adds the appropriate Release and Debug `bin\` directories to the path during the build such that executables can run against the in-tree DLLs. + ## Examples * [fribidi](https://github.com/Microsoft/vcpkg/blob/master/ports/fribidi/portfile.cmake) -- cgit v1.2.3