mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 01:59:00 +08:00
[vcpkg_configure_gn] Remove build dir before configure (#28006)
This commit is contained in:
parent
62d01b70df
commit
f11bad8304
@ -5,6 +5,7 @@ function(z_vcpkg_configure_gn_generate)
|
||||
endif()
|
||||
|
||||
message(STATUS "Generating build (${arg_CONFIG})...")
|
||||
file(REMOVE_RECURSE "${CURRENT_BUILDTREES_DIR}/${arg_CONFIG}")
|
||||
vcpkg_execute_required_process(
|
||||
COMMAND "${GN}" gen "${CURRENT_BUILDTREES_DIR}/${arg_CONFIG}" "${arg_ARGS}"
|
||||
WORKING_DIRECTORY "${arg_SOURCE_PATH}"
|
||||
|
Loading…
Reference in New Issue
Block a user