From b1078fdb9fac747c19dbdacd24c2838aae7d9f6b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 7 Sep 2015 15:59:37 +0200 Subject: Implement cfg-create command --- bpkg/buildfile | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'bpkg/buildfile') diff --git a/bpkg/buildfile b/bpkg/buildfile index 0e03e93..e058957 100644 --- a/bpkg/buildfile +++ b/bpkg/buildfile @@ -7,15 +7,20 @@ using cli import libs = libbutl%lib{butl} import libs += libbpkg%lib{bpkg} -exe{bpkg}: cxx{diagnostics utility} cli.cxx{common-options} \ - cxx{bpkg} cli.cxx{bpkg-options} \ - cxx{help} cli.cxx{help-options} \ - cxx{rep-create} cli.cxx{rep-create-options} \ +exe{bpkg}: cxx{diagnostics utility} \ + cli.cxx{common-options} cxx{types-parsers} \ + cxx{bpkg} cli.cxx{bpkg-options} \ + cxx{help} cli.cxx{help-options} \ + cxx{cfg-create} cli.cxx{cfg-create-options} \ + cxx{rep-create} cli.cxx{rep-create-options} \ $libs +#@@ --cxx-prologue "#include " + cli.options += -I $src_root --include-with-brackets --include-prefix bpkg \ ---guard-prefix BPKG --generate-file-scanner --cli-namespace bpkg::cli \ ---generate-specifier --generate-parse --long-usage --exclude-base +--guard-prefix BPKG --cxx-prologue-file $src_base/types-parsers \ +--cli-namespace bpkg::cli --generate-file-scanner --generate-specifier \ +--generate-parse --long-usage --exclude-base # Option length must be the same to get commands/topics/options lists # aligned in the general help. @@ -27,4 +32,5 @@ cli.cxx{bpkg-options}: cli{bpkg-options} cli.cxx{bpkg-options}: cli.options += --option-length 22 --short-usage cli.cxx{help-options}: cli{help-options} +cli.cxx{cfg-create-options}: cli{cfg-create-options} cli.cxx{rep-create-options}: cli{rep-create-options} -- cgit v1.1