diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-03 16:02:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-03 16:02:45 +0200 |
commit | f0c834ed57ef3afbbed2a4baacbab19fe6e7a6fd (patch) | |
tree | f11e5fafd25f99b3038c32f8333375220c458bc3 /mod | |
parent | d0661a3dfdee6b5eef901a1beb6f498a5cf9aa06 (diff) |
Rework build2 cli compilation
Diffstat (limited to 'mod')
-rw-r--r-- | mod/buildfile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mod/buildfile b/mod/buildfile index 69eedb6..228c149 100644 --- a/mod/buildfile +++ b/mod/buildfile @@ -49,10 +49,10 @@ mod{brep}: \ # Generated options parser. # -{hxx ixx cxx}{options}: cli{options} - if $cli.configured { + cli.cxx{options}: cli{options} + # Set option prefix to the empty value to handle all unknown request # parameters uniformly with a single catch block. # @@ -61,8 +61,8 @@ if $cli.configured --cxx-prologue "#include <mod/types-parsers>" \ --cli-namespace brep::cli --generate-file-scanner --suppress-usage \ --generate-modifier --generate-description --option-prefix "" -} -# Include generated cli files into the distribution. -# -{hxx ixx cxx}{options}: dist = true + # Include generated cli files into the distribution. + # + cli.cxx{options}: dist = true +} |