mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 20:29:00 +08:00
2c9ee072da
Regenerate documentation. Remove MSVC_64_TOOLSET option because it's obsolete.
26 lines
842 B
CMake
26 lines
842 B
CMake
## # vcpkg_install_cmake
|
|
##
|
|
## Build and install a cmake project.
|
|
##
|
|
## ## Usage:
|
|
## ```cmake
|
|
## vcpkg_install_cmake(...)
|
|
## ```
|
|
##
|
|
## ## Parameters:
|
|
## See [`vcpkg_build_cmake()`](vcpkg_build_cmake.md).
|
|
##
|
|
## ## Notes:
|
|
## This command transparently forwards to [`vcpkg_build_cmake()`](vcpkg_build_cmake.md), adding a `TARGET install`
|
|
## parameter.
|
|
##
|
|
## ## Examples:
|
|
##
|
|
## * [zlib](https://github.com/Microsoft/vcpkg/blob/master/ports/zlib/portfile.cmake)
|
|
## * [cpprestsdk](https://github.com/Microsoft/vcpkg/blob/master/ports/cpprestsdk/portfile.cmake)
|
|
## * [poco](https://github.com/Microsoft/vcpkg/blob/master/ports/poco/portfile.cmake)
|
|
## * [opencv](https://github.com/Microsoft/vcpkg/blob/master/ports/opencv/portfile.cmake)
|
|
function(vcpkg_install_cmake)
|
|
vcpkg_build_cmake(LOGFILE_ROOT install TARGET install ${ARGN})
|
|
endfunction()
|