vcpkg/docs/maintainers/vcpkg_install_gn.md
dave-juicelabs 2496d23d41
[vcpkg-gn] New port vcpkg-gn (#21498)
* [vcpkg-gn] Adding gn as a host only port

* Disable support for x86 and fix variable name usage.

* [vcpkg-gn] Version information.

* Updating documentation.

Co-authored-by: David McCloskey <davmcclo@gmail.com>
2021-11-29 11:42:39 -08:00

848 B

vcpkg_install_gn

This function has been deprecated in favor of vcpkg_gn_install from the vcpkg-gn port.

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

Installs a GN project.

In order to build a GN project without installing, use vcpkg_build_ninja().

Usage:

vcpkg_install_gn(
     SOURCE_PATH <SOURCE_PATH>
     [TARGETS <target>...]
)

Parameters:

SOURCE_PATH

The path to the source directory

TARGETS

Only install the specified targets.

Note: includes must be handled separately

Source

scripts/cmake/vcpkg_install_gn.cmake