vcpkg/docs/maintainers/ports/vcpkg-cmake/vcpkg_cmake_install.md
Jack·Boos·Yu 2b20b27b0d
[docs] Fix the automatically generated document URL (#16611)
* [document] Fix the automatically generated document URL

* [docs] Format all documents
2021-03-10 11:56:07 -06:00

796 B

vcpkg_cmake_install

The latest version of this document lives in the vcpkg repo.

Build and install a cmake project.

vcpkg_cmake_install(
    [DISABLE_PARALLEL]
    [ADD_BIN_TO_PATH]
)

vcpkg_cmake_install transparently forwards to vcpkg_cmake_build(), with additional parameters to set the TARGET to install, and to set the LOGFILE_ROOT to install as well.

Examples:

Source

ports/vcpkg-cmake/vcpkg_cmake_install.cmake