From 9664d2849ee30d63cd10ce5b258f1433a650b488 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 21 Jul 2021 21:31:18 +0300 Subject: Add support for automatic creation of configurations for build-time dependencies --- bdep/sync.cli | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'bdep/sync.cli') diff --git a/bdep/sync.cli b/bdep/sync.cli index 07c46a2..86c6095 100644 --- a/bdep/sync.cli +++ b/bdep/sync.cli @@ -67,6 +67,13 @@ namespace bdep Note also that \c{\b{--immediate}|\b{-i}} or \c{\b{--recursive}|\b{-r}} can only be specified with an explicit \cb{--upgrade} or \cb{--patch}. + If during synchronization a build-time dependency is encountered and + there is no build configuration of a suitable type associated with the + project, then the user is prompted (unless the respective + \cb{--create-*-config} option is specified) to automatically create such + a configuration and associate it with the project. See + \l{bpkg-cfg-create(1)} for background on configuration types. + \h|EXAMPLES| As an example, consider project \cb{prj} with two packages, \cb{foo} @@ -205,6 +212,17 @@ namespace bdep "Don't prompt for confirmation when up/down-grading dependencies." } + bool --create-host-config + { + "Create a configuration for build-time dependencies without prompt." + } + + bool --create-build2-config + { + "Create a configuration for build system module dependencies without + prompt." + } + bool --implicit { "Perform implicit synchronization. This mode is normally used by other -- cgit v1.1