aboutsummaryrefslogtreecommitdiff
path: root/load/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-09-01 17:23:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-09-01 17:23:52 +0200
commitfa1fca26c52df81d7de43e4dcfcbf6fba55c35c4 (patch)
treef9deb426439574d9bedd964cf835b0b806f3a95d /load/buildfile
parenteca7b337dbd120716b4726013e99913207dcba2c (diff)
Only set cli.options if cli is configured
Diffstat (limited to 'load/buildfile')
-rw-r--r--load/buildfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/load/buildfile b/load/buildfile
index 096da43..6912546 100644
--- a/load/buildfile
+++ b/load/buildfile
@@ -19,10 +19,13 @@ exe{brep-load}: \
#
{hxx ixx cxx}{load-options}: cli{load}
-cli.options += -I $src_root --include-with-brackets --include-prefix load \
+if $cli.configured
+{
+ 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
+}
# Include generated cli files into the distribution.
#