mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-11 02:47:57 +08:00
fdfe770571
* [vcpkg_*_nmake] Add option INSTALL_COMMAND * [gdal] Update to 3.1.3 and switch to vcpkg_*_nmake on Windows * [vcpkg_build_make] Add option MAKEFILE * fix install on windows, fix linux build * fix options position * [gdal] Fix linux build * [gdal] Fix expat library name * [gdal] Fix geos library name * [gdal] Fix cmake wrapper * [pdal] Fix dependency geos * [pdal] Fix PDALConfig.cmake * [gdal] Fix dependency cfitsio on *inx * disable cfitsio temporary * [gdal] Correct cmake wrapper and usage * [gdal] Fix tools on windows-static * Revert a9ac823007975485aacc7e1f3eb4053e295376e1 * Apply suggestions * [vcpkg_build_nmake] Fix install command * [vcpkg_build_nmake] Fix install command * regenerate docs * [gdal] Update dependency iconv and charset library names * [gdal] add json-c as a dependency on non-windows Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com> Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
50 lines
1.0 KiB
Markdown
50 lines
1.0 KiB
Markdown
# 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
|
|
- ARIA2 (Downloader)
|
|
- BISON
|
|
- CLANG
|
|
- DARK
|
|
- DOXYGEN
|
|
- FLEX
|
|
- GASPREPROCESSOR
|
|
- GPERF
|
|
- PERL
|
|
- PYTHON2
|
|
- PYTHON3
|
|
- GIT
|
|
- GN
|
|
- GO
|
|
- JOM
|
|
- MESON
|
|
- NASM
|
|
- NINJA
|
|
- NUGET
|
|
- SCONS
|
|
- SWIG
|
|
- YASM
|
|
|
|
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)
|