diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-11-23 11:20:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-11-23 11:20:03 +0200 |
commit | f5c7b962c4d3512f32df8c3bbd3370f846239b02 (patch) | |
tree | 2aff4e52f277ecac62ce1cb8bf302ffd0884666a /libbuild2/buildfile | |
parent | b5083221dad8084deb4a7949cb9fc487aa09e080 (diff) |
WIP: completedyndep
Diffstat (limited to 'libbuild2/buildfile')
-rw-r--r-- | libbuild2/buildfile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libbuild2/buildfile b/libbuild2/buildfile index 51747fd..f21be7b 100644 --- a/libbuild2/buildfile +++ b/libbuild2/buildfile @@ -217,8 +217,9 @@ else # Generated options parser. # -# @@ Consider generating common cli runtime namespace if adding more -# option files. +# @@ Consider generating common cli runtime namespace if adding more option +# files. Plus sommon types-parser.?xx (which could also potentially be +# reused by the driver). # if $cli.configured { @@ -252,7 +253,9 @@ if $cli.configured build/script/cli.cxx{builtin-options}: build/script/cli{builtin} { cli.options += --cli-namespace build2::build::script::cli \ ---include-prefix libbuild2/build/script --guard-prefix LIBBUILD2_BUILD_SCRIPT +--include-prefix libbuild2/build/script --guard-prefix LIBBUILD2_BUILD_SCRIPT \ +--cxx-prologue "#include <libbuild2/build/script/types-parsers.hxx>" \ +--generate-parse } } else |