diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-13 10:34:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-13 10:34:57 +0200 |
commit | 6be9c7746f92aa721782a4d0eaff5f901fc528cd (patch) | |
tree | ad072fd130d3bb64acee0be183698daa328e8966 /bdep/buildfile | |
parent | 5dcbecfd8b83f516c067780214f06321f03d1cce (diff) |
Setup command line infrastructure for new command
Diffstat (limited to 'bdep/buildfile')
-rw-r--r-- | bdep/buildfile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bdep/buildfile b/bdep/buildfile index 5afe7c2..7559ed0 100644 --- a/bdep/buildfile +++ b/bdep/buildfile @@ -21,7 +21,8 @@ project-options \ help-options \ config-options \ init-options \ -sync-options +sync-options \ +new-options exe{bdep}: {hxx ixx txx cxx}{** -{$options_topics} -*-odb -version} \ {hxx ixx cxx}{$options_topics} \ @@ -55,6 +56,7 @@ if $cli.configured cli.cxx{config-options}: cli{config} cli.cxx{init-options}: cli{init} cli.cxx{sync-options}: cli{sync} + cli.cxx{new-options}: cli{new} # Option length must be the same to get commands/topics/options aligned. # @@ -67,9 +69,11 @@ if $cli.configured cli.cxx{common-options}: cli.options += --short-usage --long-usage # Both. cli.cxx{bdep-options}: cli.options += --short-usage - cli.options += --long-usage # All other pages -- long usage. + cli.cxx{new-options}: cli.options += \ +--cxx-prologue "#include <bdep/new-parsers.hxx>" + # Include the generated cli files into the distribution and don't remove # them when cleaning in src (so that clean results in a state identical to # distributed). |