aboutsummaryrefslogtreecommitdiff
path: root/load/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'load/buildfile')
-rw-r--r--load/buildfile9
1 files changed, 6 insertions, 3 deletions
diff --git a/load/buildfile b/load/buildfile
index 493d067..4278f20 100644
--- a/load/buildfile
+++ b/load/buildfile
@@ -1,5 +1,4 @@
# file : load/buildfile
-# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
import libs = libodb%lib{odb}
@@ -12,6 +11,10 @@ include ../libbrep/
exe{brep-load}: {hxx ixx cxx}{* -load-options} {hxx ixx cxx}{load-options} \
../libbrep/lib{brep} $libs
+# Build options.
+#
+obj{load}: cxx.poptions += -DBREP_COPYRIGHT=\"$copyright\"
+
# Generated options parser.
#
if $cli.configured
@@ -20,8 +23,8 @@ if $cli.configured
cli.options += --std c++11 -I $src_root --include-with-brackets \
--include-prefix load --guard-prefix LOAD --generate-specifier \
---cxx-prologue "#include <load/types-parsers.hxx>" --page-usage print_ \
---ansi-color --long-usage
+--generate-modifier --cxx-prologue "#include <load/types-parsers.hxx>" \
+--page-usage print_ --ansi-color --long-usage
# 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