2017-05-25 14:33:16 +08:00
|
|
|
## # vcpkg_install_cmake
|
|
|
|
##
|
|
|
|
## Build and install a cmake project.
|
|
|
|
##
|
|
|
|
## ## Usage:
|
|
|
|
## ```cmake
|
2017-10-06 08:49:28 +08:00
|
|
|
## vcpkg_install_cmake(...)
|
2017-05-25 14:33:16 +08:00
|
|
|
## ```
|
|
|
|
##
|
|
|
|
## ## Parameters:
|
2017-10-06 08:49:28 +08:00
|
|
|
## See [`vcpkg_build_cmake()`](vcpkg_build_cmake.md).
|
2017-05-25 14:33:16 +08:00
|
|
|
##
|
|
|
|
## ## Notes:
|
2017-10-06 08:49:28 +08:00
|
|
|
## This command transparently forwards to [`vcpkg_build_cmake()`](vcpkg_build_cmake.md), adding a `TARGET install`
|
|
|
|
## parameter.
|
2017-05-25 14:33:16 +08:00
|
|
|
##
|
|
|
|
## ## 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)
|
2016-09-19 11:50:08 +08:00
|
|
|
function(vcpkg_install_cmake)
|
2017-10-06 08:49:28 +08:00
|
|
|
vcpkg_build_cmake(LOGFILE_ROOT install TARGET install ${ARGN})
|
2016-09-19 11:50:08 +08:00
|
|
|
endfunction()
|