vcpkg/docs/maintainers/vcpkg_build_make.md
ras0219 385fb52332
[vcpkg] Track hashes of cmake script helpers in consuming portfiles (#12254)
* [vcpkg] Track hashes of cmake script helpers in consuming portfiles

* [vcpkg] Format

* [vcpkg_find_acquire_program] Use cpkg_from_sourceforge for FLEX and BISON

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-13 13:43:39 -07:00

1.5 KiB

vcpkg_build_make

Build a linux makefile project.

Usage:

vcpkg_build_make([BUILD_TARGET <target>]
                 [ADD_BIN_TO_PATH]
                 [ENABLE_INSTALL])
                 [LOGFILE_ROOT <logfileroot>])

BUILD_TARGET

The target passed to the make build command (./make <target>). If not specified, the 'all' target will be passed.

ADD_BIN_TO_PATH

Adds the appropriate Release and Debug bin\ directories to the path during the build such that executables can run against the in-tree DLLs.

ENABLE_INSTALL

IF the port supports the install target use vcpkg_install_make() instead of vcpkg_build_make()

BUILD_TARGET

The target passed to the make build command (./make <target>). If not specified, the 'all' target will be passed.

Notes:

This command should be preceeded by a call to vcpkg_configure_make(). You can use the alias vcpkg_install_make() function if your CMake script supports the "install" target

Examples

Source

scripts/cmake/vcpkg_build_make.cmake