vcpkg/docs/maintainers/vcpkg_install_cmake.md

964 B

vcpkg_install_cmake

Build and install a cmake project.

Usage:

vcpkg_install_cmake([MSVC_64_TOOLSET])

Parameters:

MSVC_64_TOOLSET

This adds the /p:PreferredToolArchitecture=x64 switch if the underlying buildsystem is MSBuild. Some large projects can run out of memory when linking if they use the 32-bit hosted tools.

Notes:

This command should be preceeded by a call to vcpkg_configure_cmake().

Examples:

Source

scripts/cmake/vcpkg_install_cmake.cmake