mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 02:27:49 +08:00
24 lines
437 B
Markdown
24 lines
437 B
Markdown
|
# vcpkg_install_gn
|
||
|
|
||
|
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)
|