mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 19:07:50 +08:00
253c561a2c
* [scripts-audit] Remove vcpkg_build_gn This command has never been used (git log -S"vcpkg_build_gn\(" gives no results outside of the file itself and docs) and so shrink the public interface surface * [scripts-audit] gn buildsystem * format * oops * aaaugh * cr
30 lines
716 B
Markdown
30 lines
716 B
Markdown
# vcpkg_install_gn
|
|
|
|
The latest version of this document lives in the [vcpkg repo](https://github.com/Microsoft/vcpkg/blob/master/docs/maintainers/vcpkg_install_gn.md).
|
|
|
|
Installs a GN project.
|
|
|
|
In order to build a GN project without installing, use [`vcpkg_build_ninja()`].
|
|
|
|
## Usage:
|
|
```cmake
|
|
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
|
|
|
|
[`vcpkg_build_ninja()`]: vcpkg_build_ninja.md
|
|
|
|
## Source
|
|
[scripts/cmake/vcpkg\_install\_gn.cmake](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_install_gn.cmake)
|