2017-05-25 14:33:16 +08:00
|
|
|
# vcpkg_find_acquire_program
|
|
|
|
|
|
|
|
Download or find a well-known tool.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
```cmake
|
|
|
|
vcpkg_find_acquire_program(<VAR>)
|
|
|
|
```
|
|
|
|
## Parameters
|
|
|
|
### VAR
|
|
|
|
This variable specifies both the program to be acquired as well as the out parameter that will be set to the path of the program executable.
|
|
|
|
|
|
|
|
## Notes
|
|
|
|
The current list of programs includes:
|
|
|
|
|
|
|
|
- 7Z
|
|
|
|
- BISON
|
|
|
|
- FLEX
|
2017-10-06 08:49:28 +08:00
|
|
|
- GASPREPROCESSOR
|
2017-05-25 14:33:16 +08:00
|
|
|
- PERL
|
|
|
|
- PYTHON2
|
|
|
|
- PYTHON3
|
|
|
|
- JOM
|
|
|
|
- MESON
|
|
|
|
- NASM
|
|
|
|
- NINJA
|
|
|
|
- YASM
|
2018-05-01 05:54:50 +08:00
|
|
|
- ARIA2 (Downloader)
|
2017-05-25 14:33:16 +08:00
|
|
|
|
|
|
|
Note that msys2 has a dedicated helper function: [`vcpkg_acquire_msys`](vcpkg_acquire_msys.md).
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
* [ffmpeg](https://github.com/Microsoft/vcpkg/blob/master/ports/ffmpeg/portfile.cmake)
|
|
|
|
* [openssl](https://github.com/Microsoft/vcpkg/blob/master/ports/openssl/portfile.cmake)
|
|
|
|
* [qt5](https://github.com/Microsoft/vcpkg/blob/master/ports/qt5/portfile.cmake)
|
|
|
|
|
|
|
|
## Source
|
|
|
|
[scripts/cmake/vcpkg_find_acquire_program.cmake](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_find_acquire_program.cmake)
|