mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 20:09:00 +08:00
8646c6587b
* [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>
23 lines
830 B
Markdown
23 lines
830 B
Markdown
# vcpkg_install_meson
|
|
|
|
The latest version of this document lives in the [vcpkg repo](https://github.com/Microsoft/vcpkg/blob/master/docs/maintainers/vcpkg_install_meson.md).
|
|
|
|
Builds a meson project previously configured with `vcpkg_configure_meson()`.
|
|
|
|
## Usage
|
|
```cmake
|
|
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)
|
|
* [libepoxy](https://github.com/Microsoft/vcpkg/blob/master/ports/libepoxy/portfile.cmake)
|
|
|
|
## Source
|
|
[scripts/cmake/vcpkg\_install\_meson.cmake](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_install_meson.cmake)
|