vcpkg/docs/maintainers/vcpkg_find_acquire_program.md
Robert Schumacher 2c9ee072da [vcpkg_build_cmake] Refactor _build_ and _install_ into a single cmake script.
Regenerate documentation. Remove MSVC_64_TOOLSET option because it's obsolete.
2017-10-05 17:49:28 -07:00

961 B

vcpkg_find_acquire_program

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
  • BISON
  • FLEX
  • GASPREPROCESSOR
  • PERL
  • PYTHON2
  • PYTHON3
  • JOM
  • MESON
  • NASM
  • NINJA
  • YASM

Note that msys2 has a dedicated helper function: vcpkg_acquire_msys.

Examples

Source

scripts/cmake/vcpkg_find_acquire_program.cmake