aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-configure.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-04-12 07:34:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-04-12 07:34:39 +0200
commitb611f9d3aa65e93d8f1860867e75e00acfbfd78c (patch)
treeaefabd6b993104b6ef82f8ba5061718134d2a857 /bpkg/pkg-configure.hxx
parent614893088f691c74b562272edec90ef9bd54e230 (diff)
Sketch
Diffstat (limited to 'bpkg/pkg-configure.hxx')
-rw-r--r--bpkg/pkg-configure.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/bpkg/pkg-configure.hxx b/bpkg/pkg-configure.hxx
index a7409b9..63506a9 100644
--- a/bpkg/pkg-configure.hxx
+++ b/bpkg/pkg-configure.hxx
@@ -7,6 +7,8 @@
#include <libbpkg/manifest.hxx> // version
#include <libbpkg/package-name.hxx>
+#include <libbuild2/context.hxx>
+
#include <bpkg/types.hxx>
#include <bpkg/forward.hxx> // transaction, selected_package
#include <bpkg/utility.hxx>
@@ -100,8 +102,12 @@ namespace bpkg
const function<find_database_function>&,
const function<find_package_state_function>&);
+
// Configure the package, update its state, and commit the transaction.
//
+ // The build2::context argument allows re-using the build state in
+ // subsequent pkg_configure() calls. @@ TODO
+ //
void
pkg_configure (const common_options&,
database&,