blob: 6908018a5f1086b1ef783ee764d811a6dedaba9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
// file : bpkg/pkg-configure.cli
// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
include <bpkg/configuration.cli>;
"\section=1"
"\name=bpkg-pkg-configure"
"\summary=configure package"
namespace bpkg
{
{
"<options> <cfg-var> <pkg> <ver>",
"\h|SYNOPSIS|
\c{\b{bpkg pkg-configure} [<options>] [<cfg-var>...] <pkg>}
\h|DESCRIPTION|
The \cb{pkg-configure} command configures either the previously unpacked
(\l{bpkg-pkg-unpack(1)}, \l{bpkg-pkg-checkout(1)}) source code package or
a package that is present in the system.
A source code package inherits the common \cb{build2} configuration
values that were specified when creating the configuration
(\l{bpkg-cfg-create(1)}). Additional package-specific configuration
variables can be passed to \cb{pkg-configure} (<cfg-var>).
A system package is specified using the \c{\b{sys:}<pkg>[/<ver>]}
syntax. If the package version (<ver>) is not specified, then it is
considered to be unknown but satisfying any dependency constraint. Such a
version is displayed as \cb{*}."
}
class pkg_configure_options: configuration_options
{
"\h|PKG-CONFIGURE OPTIONS|"
};
"
\h|DEFAULT OPTIONS FILES|
See \l{bpkg-default-options-files(1)} for an overview of the default
options files. For the \cb{pkg-configure} command the search start
directory is the configuration directory. The following options files are
searched for in each directory and, if found, loaded in the order listed:
\
bpkg.options
bpkg-pkg-configure.options
\
The following \cb{pkg-configure} command options cannot be specified in the
default options files:
\
--directory|-d
\
"
}
|