diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-08-31 22:53:55 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-08-31 22:53:55 +0300 |
commit | d123226f8324813cb1698888879f6f1060652717 (patch) | |
tree | 442aceb67d339c2b362520789cad1cbaba29f837 /mod/buildfile | |
parent | 92ce406a3a81e49a287d19824a501f33b0aceed6 (diff) |
Build infrastructure update
Diffstat (limited to 'mod/buildfile')
-rw-r--r-- | mod/buildfile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mod/buildfile b/mod/buildfile index 79d86e0..799ed5d 100644 --- a/mod/buildfile +++ b/mod/buildfile @@ -47,6 +47,10 @@ mod{brep}: \ {hxx ixx txx}{*}: install = false ../web/{hxx ixx txx}{*}: install = false +# Generated options parser. +# +{hxx ixx cxx}{options}: cli{options} + # Set option prefix to the empty value to handle all unknown request parameters # uniformly with a single catch block. # @@ -56,4 +60,6 @@ cli.options += --std c++11 -I $src_root --include-with-brackets \ --cli-namespace brep::cli --generate-file-scanner --suppress-usage \ --generate-modifier --generate-description --option-prefix "" -{hxx ixx cxx}{options}: cli{options} +# Include generated cli files into the distribution. +# +{hxx ixx cxx}{options}: dist = true |