vcpkg/docs/maintainers/vcpkg_install_meson.md
Alexander Neumann 8646c6587b
[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 <roschuma@microsoft.com>

* UWP is cross target.

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-03-31 11:54:44 -07:00

830 B

vcpkg_install_meson

The latest version of this document lives in the vcpkg repo.

Builds a meson project previously configured with vcpkg_configure_meson().

Usage

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

Source

scripts/cmake/vcpkg_install_meson.cmake