vcpkg/docs/maintainers/vcpkg_find_acquire_program.md
Jack·Boos·Yu 2b20b27b0d
[docs] Fix the automatically generated document URL (#16611)
* [document] Fix the automatically generated document URL

* [docs] Format all documents
2021-03-10 11:56:07 -06:00

1.2 KiB

vcpkg_find_acquire_program

The latest version of this document lives in the vcpkg repo.

Download or find a well-known tool.

Usage

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.

Examples

Source

scripts/cmake/vcpkg_find_acquire_program.cmake