vcpkg/docs/maintainers/vcpkg_build_cmake.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

1.1 KiB

vcpkg_build_cmake

Build a cmake project.

Usage:

vcpkg_build_cmake([DISABLE_PARALLEL] [TARGET <target>])

Parameters:

DISABLE_PARALLEL

The underlying buildsystem will be instructed to not parallelize

TARGET

The target passed to the cmake build command (cmake --build . --target <target>). If not specified, no target will be passed.

Notes:

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

Examples:

Source

scripts/cmake/vcpkg_build_cmake.cmake