mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-01 13:37:55 +08:00
install command
Add status for the building phase
This commit is contained in:
parent
4839ea8944
commit
24c2955b03
@ -290,6 +290,7 @@ namespace vcpkg::Commands::Install
|
||||
break;
|
||||
case InstallPlanType::BUILD_AND_INSTALL:
|
||||
{
|
||||
System::println("Building package %s... ", action.spec);
|
||||
const Build::BuildResult result = Commands::Build::build_package(action.plan.source_pgh.value_or_exit(VCPKG_LINE_INFO),
|
||||
action.spec,
|
||||
paths,
|
||||
@ -301,6 +302,8 @@ namespace vcpkg::Commands::Install
|
||||
System::println(Build::create_user_troubleshooting_message(action.spec));
|
||||
Checks::exit_fail(VCPKG_LINE_INFO);
|
||||
}
|
||||
System::println(System::Color::success, "Building package %s... done", action.spec);
|
||||
|
||||
const BinaryParagraph bpgh = Paragraphs::try_load_cached_package(paths, action.spec).value_or_exit(VCPKG_LINE_INFO);
|
||||
System::println("Installing package %s... ", action.spec);
|
||||
install_package(paths, bpgh, &status_db);
|
||||
|
Loading…
x
Reference in New Issue
Block a user