mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 19:42:46 +08:00
[vcpkg] Improve informational message for --editable
while cleaning sources (#12366)
* [vcpkg] Improve informational message for --editable while cleaning sources * [vcpkg] Update scripts/cmake/vcpkg_extract_source_archive_ex.cmake Co-authored-by: nicole mazzuca <mazzucan@outlook.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com> Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
This commit is contained in:
parent
7b3eea9481
commit
18c7750270
@ -104,7 +104,7 @@ function(vcpkg_extract_source_archive_ex)
|
|||||||
if (NOT _VCPKG_EDITABLE)
|
if (NOT _VCPKG_EDITABLE)
|
||||||
string(APPEND SOURCE_PATH ".clean")
|
string(APPEND SOURCE_PATH ".clean")
|
||||||
if(EXISTS ${SOURCE_PATH})
|
if(EXISTS ${SOURCE_PATH})
|
||||||
message(STATUS "Cleaning sources at ${SOURCE_PATH}. Pass --editable to vcpkg to reuse sources.")
|
message(STATUS "Cleaning sources at ${SOURCE_PATH}. Use --editable to skip cleaning for the packages you specify.")
|
||||||
file(REMOVE_RECURSE ${SOURCE_PATH})
|
file(REMOVE_RECURSE ${SOURCE_PATH})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user