diff options
-rw-r--r-- | load/buildfile | 5 | ||||
-rw-r--r-- | migrate/buildfile | 5 | ||||
-rw-r--r-- | mod/buildfile | 11 |
3 files changed, 15 insertions, 6 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. # diff --git a/migrate/buildfile b/migrate/buildfile index 7fb2cf6..4ff1742 100644 --- a/migrate/buildfile +++ b/migrate/buildfile @@ -17,9 +17,12 @@ exe{brep-migrate}: \ # {hxx ixx cxx}{migrate-options}: cli{migrate} -cli.options += -I $src_root --include-with-brackets --include-prefix migrate \ +if $cli.configured +{ + cli.options += -I $src_root --include-with-brackets --include-prefix migrate \ --guard-prefix MIGRATE --generate-specifier --page-usage print_ --ansi-color \ --long-usage +} # Include generated cli files into the distribution. # diff --git a/mod/buildfile b/mod/buildfile index 799ed5d..6ec69fb 100644 --- a/mod/buildfile +++ b/mod/buildfile @@ -51,14 +51,17 @@ mod{brep}: \ # {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. -# -cli.options += --std c++11 -I $src_root --include-with-brackets \ +if $cli.configured +{ + # Set option prefix to the empty value to handle all unknown request + # parameters uniformly with a single catch block. + # + cli.options += --std c++11 -I $src_root --include-with-brackets \ --include-prefix mod --guard-prefix MOD \ --cxx-prologue "#include <mod/types-parsers>" \ --cli-namespace brep::cli --generate-file-scanner --suppress-usage \ --generate-modifier --generate-description --option-prefix "" +} # Include generated cli files into the distribution. # |