Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.47 KB

update-baseline.md

File metadata and controls

42 lines (27 loc) · 1.47 KB
title description ms.date
vcpkg x-update-baseline
Command line reference for the vcpkg x-update-baseline command. Update baselines for all configured registries.
01/10/2024

vcpkg x-update-baseline

[!INCLUDE experimental]

Synopsis

vcpkg x-update-baseline [options] [--add-initial-baseline] [--dry-run]

Description

Update baselines for all configured registries.

In Manifest mode, this command operates on all registries in the vcpkg.json and the vcpkg-configuration.json. In Classic mode, this command operates on the vcpkg-configuration.json in the vcpkg instance ($VCPKG_ROOT).

See the versioning documentation for more information about baselines.

Options

All vcpkg commands support a set of common options.

--dry-run

Print the planned baseline upgrades, but do not modify the files on disk.

--add-initial-baseline

  • Manifest mode only

Add a "builtin-baseline" field to the vcpkg.json if it does not already have one.

Without this flag, it is an error to run this command on a manifest that does not have any registries configured.