From 2152522277ee38633df5f36ac93d3ea5cf316c32 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 3 Mar 2017 15:47:47 +0200 Subject: Rework build2 cli compilation --- cli/buildfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cli/buildfile') diff --git a/cli/buildfile b/cli/buildfile index cd19583..9ddc880 100644 --- a/cli/buildfile +++ b/cli/buildfile @@ -43,15 +43,15 @@ traversal/{hxx cxx}{ unit } \ # Generated options parser. # -{hxx ixx cxx}{options}: cli{options} - if $cli.configured { + cli.cxx{options}: cli{options} + cli.options += -I $src_root --include-with-brackets --include-prefix cli \ --guard-prefix CLI --generate-file-scanner --generate-specifier \ --reserved-name stdout -} -# Include generated cli files into the distribution. -# -{hxx ixx cxx}{options}: dist = true + # Include generated cli files into the distribution. + # + cli.cxx{*}: dist = true +} -- cgit v1.1