mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 07:37:56 +08:00
2b20b27b0d
* [document] Fix the automatically generated document URL * [docs] Format all documents
26 lines
587 B
Markdown
26 lines
587 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
|
|
|
|
## 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
|
|
|
|
## Source
|
|
[scripts/cmake/vcpkg\_install\_gn.cmake](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_install_gn.cmake)
|