aboutsummaryrefslogtreecommitdiff
path: root/migrate/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-03-03 16:02:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-03-03 16:02:45 +0200
commitf0c834ed57ef3afbbed2a4baacbab19fe6e7a6fd (patch)
treef11e5fafd25f99b3038c32f8333375220c458bc3 /migrate/buildfile
parentd0661a3dfdee6b5eef901a1beb6f498a5cf9aa06 (diff)
Rework build2 cli compilation
Diffstat (limited to 'migrate/buildfile')
-rw-r--r--migrate/buildfile12
1 files changed, 6 insertions, 6 deletions
diff --git a/migrate/buildfile b/migrate/buildfile
index 72d7f2e..6b2ddd1 100644
--- a/migrate/buildfile
+++ b/migrate/buildfile
@@ -15,15 +15,15 @@ exe{brep-migrate}: \
# Generated options parser.
#
-{hxx ixx cxx}{migrate-options}: cli{migrate}
-
if $cli.configured
{
+ cli.cxx{migrate-options}: cli{migrate}
+
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.
-#
-{hxx ixx cxx}{migrate-options}: dist = true
+ # Include generated cli files into the distribution.
+ #
+ cli.cxx{migrate-options}: dist = true
+}