mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-24 11:37:12 +01:00
List packages for vcpkg install
This commit is contained in:
parent
e1a111ad09
commit
d010c81b13
@ -56,15 +56,18 @@ namespace vcpkg::Commands::Update
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
std::string install_line;
|
||||||
System::println("The following packages differ from their port versions:");
|
System::println("The following packages differ from their port versions:");
|
||||||
for (auto&& package : outdated_packages)
|
for (auto&& package : outdated_packages)
|
||||||
{
|
{
|
||||||
|
install_line += package.spec.to_string();
|
||||||
|
install_line += " ";
|
||||||
System::println(" %-32s %s", package.spec, package.version_diff.to_string());
|
System::println(" %-32s %s", package.spec, package.version_diff.to_string());
|
||||||
}
|
}
|
||||||
System::println("\n"
|
System::println("\n"
|
||||||
"To update these packages, run\n"
|
"To update these packages, run\n"
|
||||||
" .\\vcpkg remove --outdated\n"
|
" .\\vcpkg remove --outdated\n"
|
||||||
" .\\vcpkg install <pkgs>...");
|
" .\\vcpkg install " + install_line);
|
||||||
}
|
}
|
||||||
|
|
||||||
auto version_file = paths.get_filesystem().read_contents(paths.root / "toolsrc" / "VERSION.txt");
|
auto version_file = paths.get_filesystem().read_contents(paths.root / "toolsrc" / "VERSION.txt");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user