vcpkg/scripts/cmake/vcpkg_clean_msbuild.cmake
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

20 lines
455 B
CMake

## # vcpkg_clean_msbuild
##
## Clean intermediate files generated by `vcpkg_install_msbuild()`.
##
## ## Usage
## ```cmake
## vcpkg_clean_msbuild()
## ```
##
## ## Examples
##
## * [xalan-c](https://github.com/Microsoft/vcpkg/blob/master/ports/xalan-c/portfile.cmake)
function(vcpkg_clean_msbuild)
file(REMOVE_RECURSE
${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg
${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel
)
endfunction()