]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | # vcpkg_find_acquire_program |
2 | ||
3 | The latest version of this document lives in the [vcpkg repo](https://github.com/Microsoft/vcpkg/blob/master/docs/maintainers/vcpkg_find_acquire_program.md). | |
4 | ||
5 | Download or find a well-known tool. | |
6 | ||
7 | ## Usage | |
8 | ```cmake | |
9 | vcpkg_find_acquire_program(<VAR>) | |
10 | ``` | |
11 | ## Parameters | |
12 | ### VAR | |
13 | 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. | |
14 | ||
15 | ## Notes | |
16 | The current list of programs includes: | |
17 | ||
18 | * 7Z | |
19 | * ARIA2 (Downloader) | |
20 | * BISON | |
21 | * CLANG | |
22 | * DARK | |
23 | * DOXYGEN | |
24 | * FLEX | |
25 | * GASPREPROCESSOR | |
26 | * GPERF | |
27 | * PERL | |
28 | * PYTHON2 | |
29 | * PYTHON3 | |
30 | * GIT | |
31 | * GN | |
32 | * GO | |
33 | * JOM | |
34 | * MESON | |
35 | * NASM | |
36 | * NINJA | |
37 | * NUGET | |
38 | * SCONS | |
39 | * SWIG | |
40 | * YASM | |
41 | ||
42 | Note that msys2 has a dedicated helper function: [`vcpkg_acquire_msys`](vcpkg_acquire_msys.md). | |
43 | ||
44 | ## Examples | |
45 | ||
46 | * [ffmpeg](https://github.com/Microsoft/vcpkg/blob/master/ports/ffmpeg/portfile.cmake) | |
47 | * [openssl](https://github.com/Microsoft/vcpkg/blob/master/ports/openssl/portfile.cmake) | |
48 | * [qt5](https://github.com/Microsoft/vcpkg/blob/master/ports/qt5/portfile.cmake) | |
49 | ||
50 | ## Source | |
51 | [scripts/cmake/vcpkg\_find\_acquire\_program.cmake](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_find_acquire_program.cmake) |