mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 08:39:01 +08:00
cae98beb1b
* [scripts-audit] simple msbuild-buildsystem changes * warn on extra args in vcpkg_clean_msbuild * fix variable name, and quotes expansion * ROOT_INCLUDES -> root_includes
25 lines
565 B
CMake
25 lines
565 B
CMake
#[===[.md:
|
|
# 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)
|
|
if(NOT ARGC EQUAL 0)
|
|
message(WARNING "vcpkg_clean_msbuild was passed extra arguments: ${ARGV}")
|
|
endif()
|
|
file(REMOVE_RECURSE
|
|
"${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg"
|
|
"${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel"
|
|
)
|
|
endfunction()
|