mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-04 17:29:01 +08:00
6b117c9c7e
* [vcpkg docs] Change how documenting port functions works Instead of using `##`, use comment blocks for documentation. Also, add some minor docs and change RST -> MD so we actually get docs generated. * add CI stuff * regenerate docs * fix vcpkg_find_acquire_program to not use _execute_process
29 lines
801 B
CMake
29 lines
801 B
CMake
#[===[.md:
|
|
# 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()
|