mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 20:23:41 +08:00
6d5eba6a6d
* 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
20 lines
455 B
CMake
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()
|