aboutsummaryrefslogtreecommitdiff
path: root/mod/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'mod/buildfile')
-rw-r--r--mod/buildfile8
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