vcpkg/docs/maintainers/vcpkg_build_make.md

1.1 KiB

vcpkg_build_make

Build a linux makefile project.

Usage:

vcpkg_build_make([TARGET <target>])

TARGET

The target passed to the configure/make build command (./configure/make/make install). If not specified, no 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.

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