vcpkg/docs/maintainers/vcpkg_test_cmake.md
Roger Leigh 6d5eba6a6d xalan-c: Install headers correctly (#4565)
* Add SKIP_CLEAN option to vcpkg_install_msbuild

Also add vcpkg_clean_msbuild function to factor out clean
logic and allow re-use in portfiles.

* xalan-c: Correct header globbing

* vcpkg_install_msbuild: SKIP_CLEAN documentation correction

* [xalan-c] Add explicit check for localmsgindex header.
[docs] Regenerate
2018-10-25 12:34:45 -07:00

21 lines
460 B
Markdown

# vcpkg_test_cmake
Tests a built package for CMake `find_package()` integration.
## Usage:
```cmake
vcpkg_test_cmake(PACKAGE_NAME <name> [MODULE])
```
## Parameters:
### PACKAGE_NAME
The expected name to find with `find_package()`.
### MODULE
Indicates that the library expects to be found via built-in CMake targets.
## Source
[scripts/cmake/vcpkg_test_cmake.cmake](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_test_cmake.cmake)