The latest version of this document lives in the vcpkg repo.
Configure Meson for Debug and Release builds of a project.
vcpkg_configure_meson(
SOURCE_PATH <${SOURCE_PATH}>
[NO_PKG_CONFIG]
[OPTIONS <-DUSE_THIS_IN_ALL_BUILDS=1>...]
[OPTIONS_RELEASE <-DOPTIMIZE=1>...]
[OPTIONS_DEBUG <-DDEBUGGABLE=1>...]
)Specifies the directory containing the meson.build.
By convention, this is usually set in the portfile as the variable SOURCE_PATH.
Additional options passed to Meson during the configuration.
Additional options passed to Meson during the Release configuration. These are in addition to OPTIONS.
Additional options passed to Meson during the Debug configuration. These are in addition to OPTIONS.
Disable pkg-config setup
This command supplies many common arguments to Meson. To see the full list, examine the source.