From 065d7f5b6dcf79be2f783cae7c3bbc52b19232b1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 3 Mar 2017 15:57:33 +0200 Subject: Rework build2 cli compilation --- odb/pgsql/buildfile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'odb/pgsql') diff --git a/odb/pgsql/buildfile b/odb/pgsql/buildfile index 8830319..b520621 100644 --- a/odb/pgsql/buildfile +++ b/odb/pgsql/buildfile @@ -69,19 +69,22 @@ lib{odb-pgsql}: cxx.export.libs = $int_libs details/: { - {hxx ixx cxx}{options}: cli{options} - if $cli.configured { + cli.cxx{options}: cli{options} + cli.options += --include-with-brackets --include-prefix odb/pgsql/details \ --guard-prefix LIBODB_PGSQL_DETAILS --generate-file-scanner \ --cli-namespace odb::pgsql::details::cli --long-usage --generate-specifier + + # Include generated cli files into the distribution. + # + cli.cxx{*}: dist = true } - # Include generated cli files into the distribution. But don't install them - # since they are only used internally in the database implementation. + # But don't install their headers since they are only used internally in the + # database implementation. # - {hxx ixx cxx}{options}: dist = true {hxx ixx}{options}: install = false } -- cgit v1.1