]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/docs/maintainers/vcpkg_build_make.md
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / docs / maintainers / vcpkg_build_make.md
1 # vcpkg_build_make
2
3 The latest version of this document lives in the [vcpkg repo](https://github.com/Microsoft/vcpkg/blob/master/docs/maintainers/vcpkg_build_make.md).
4
5 Build a linux makefile project.
6
7 ## Usage:
8 ```cmake
9 vcpkg_build_make([BUILD_TARGET <target>]
10 [ADD_BIN_TO_PATH]
11 [ENABLE_INSTALL]
12 [MAKEFILE <makefileName>]
13 [LOGFILE_ROOT <logfileroot>])
14 ```
15
16 ### BUILD_TARGET
17 The target passed to the make build command (`./make <target>`). If not specified, the 'all' target will
18 be passed.
19
20 ### ADD_BIN_TO_PATH
21 Adds the appropriate Release and Debug `bin\` directories to the path during the build such that executables can run against the in-tree DLLs.
22
23 ### ENABLE_INSTALL
24 IF the port supports the install target use vcpkg_install_make() instead of vcpkg_build_make()
25
26 ### MAKEFILE
27 Specifies the Makefile as a relative path from the root of the sources passed to `vcpkg_configure_make()`
28
29 ### BUILD_TARGET
30 The target passed to the make build command (`./make <target>`). Defaults to 'all'.
31
32 ### INSTALL_TARGET
33 The target passed to the make build command (`./make <target>`) if `ENABLE_INSTALL` is used. Defaults to 'install'.
34
35 ### DISABLE_PARALLEL
36 The underlying buildsystem will be instructed to not parallelize
37
38 ### SUBPATH
39 Additional subdir to invoke make in. Useful if only parts of a port should be built.
40
41 ## Notes:
42 This command should be preceded by a call to [`vcpkg_configure_make()`](vcpkg_configure_make.md).
43 You can use the alias [`vcpkg_install_make()`](vcpkg_install_make.md) function if your makefile supports the
44 "install" target
45
46 ## Examples
47
48 * [x264](https://github.com/Microsoft/vcpkg/blob/master/ports/x264/portfile.cmake)
49 * [tcl](https://github.com/Microsoft/vcpkg/blob/master/ports/tcl/portfile.cmake)
50 * [freexl](https://github.com/Microsoft/vcpkg/blob/master/ports/freexl/portfile.cmake)
51 * [libosip2](https://github.com/Microsoft/vcpkg/blob/master/ports/libosip2/portfile.cmake)
52
53 ## Source
54 [scripts/cmake/vcpkg\_build\_make.cmake](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_build_make.cmake)