aboutsummaryrefslogtreecommitdiff
path: root/load/buildfile
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-08-31 22:53:55 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-08-31 22:53:55 +0300
commitd123226f8324813cb1698888879f6f1060652717 (patch)
tree442aceb67d339c2b362520789cad1cbaba29f837 /load/buildfile
parent92ce406a3a81e49a287d19824a501f33b0aceed6 (diff)
Build infrastructure update
Diffstat (limited to 'load/buildfile')
-rw-r--r--load/buildfile8
1 files changed, 7 insertions, 1 deletions
diff --git a/load/buildfile b/load/buildfile
index db5a5ac..096da43 100644
--- a/load/buildfile
+++ b/load/buildfile
@@ -15,9 +15,15 @@ exe{brep-load}: \
{hxx cxx}{ types-parsers } \
../brep/lib{brep} $libs
+# Generated options parser.
+#
+{hxx ixx cxx}{load-options}: cli{load}
+
cli.options += -I $src_root --include-with-brackets --include-prefix load \
--guard-prefix LOAD --generate-specifier --page-usage print_ --ansi-color \
--cxx-prologue "#include <load/types-parsers>" \
--long-usage
-{hxx ixx cxx}{load-options}: cli{load}
+# Include generated cli files into the distribution.
+#
+{hxx ixx cxx}{load-options}: dist = true