The latest version of this document lives in the vcpkg repo.
Generate Ninja (GN) targets
vcpkg_configure_gn(
SOURCE_PATH <SOURCE_PATH>
[OPTIONS <OPTIONS>]
[OPTIONS_DEBUG <OPTIONS_DEBUG>]
[OPTIONS_RELEASE <OPTIONS_RELEASE>]
)
The path to the GN project.
Options to be passed to both the debug and release targets. Note: Must be provided as a space-separated string.
Options to be passed to the debug target.
Options to be passed to the release target.