2020-12-02 05:37:26 +08:00
|
|
|
#[===[.md:
|
|
|
|
# vcpkg_clean_msbuild
|
|
|
|
|
|
|
|
Clean intermediate files generated by `vcpkg_install_msbuild()`.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
```cmake
|
|
|
|
vcpkg_clean_msbuild()
|
|
|
|
```
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
2021-07-15 03:45:18 +08:00
|
|
|
* [python3](https://github.com/Microsoft/vcpkg/blob/master/ports/python3/portfile.cmake)
|
2020-12-02 05:37:26 +08:00
|
|
|
#]===]
|
2018-10-26 03:34:45 +08:00
|
|
|
|
|
|
|
function(vcpkg_clean_msbuild)
|
2021-05-18 02:08:42 +08:00
|
|
|
if(NOT ARGC EQUAL 0)
|
|
|
|
message(WARNING "vcpkg_clean_msbuild was passed extra arguments: ${ARGV}")
|
|
|
|
endif()
|
2018-10-26 03:34:45 +08:00
|
|
|
file(REMOVE_RECURSE
|
2021-05-18 02:08:42 +08:00
|
|
|
"${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg"
|
|
|
|
"${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel"
|
2018-10-26 03:34:45 +08:00
|
|
|
)
|
|
|
|
endfunction()
|