Edit

vcpkg_install_gn

Warning

This function has been deprecated in favor of vcpkg_gn_install.

Installs a GN project.

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.

Include files must be handled separately.

Source

scripts/cmake/vcpkg_install_gn.cmake