mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 06:29:08 +08:00
[vcpkg_clean_executables_in_bin] Clean bundles (#28335)
This commit is contained in:
parent
7d74d8dc09
commit
56765209ec
@ -33,6 +33,12 @@ function(vcpkg_clean_executables_in_bin)
|
|||||||
"${CURRENT_PACKAGES_DIR}/bin/${file_name}.pdb"
|
"${CURRENT_PACKAGES_DIR}/bin/${file_name}.pdb"
|
||||||
"${CURRENT_PACKAGES_DIR}/debug/bin/${file_name}.pdb"
|
"${CURRENT_PACKAGES_DIR}/debug/bin/${file_name}.pdb"
|
||||||
)
|
)
|
||||||
|
if(NOT VCPKG_TARGET_BUNDLE_SUFFIX STREQUAL "")
|
||||||
|
file(REMOVE_RECURSE
|
||||||
|
"${CURRENT_PACKAGES_DIR}/bin/${file_name}${VCPKG_TARGET_BUNDLE_SUFFIX}"
|
||||||
|
"${CURRENT_PACKAGES_DIR}/debug/bin/${file_name}${VCPKG_TARGET_BUNDLE_SUFFIX}"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
z_vcpkg_clean_executables_in_bin_remove_directory_if_empty("${CURRENT_PACKAGES_DIR}/bin")
|
z_vcpkg_clean_executables_in_bin_remove_directory_if_empty("${CURRENT_PACKAGES_DIR}/bin")
|
||||||
|
Loading…
Reference in New Issue
Block a user