aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'odb/sqlite/buildfile')
-rw-r--r--odb/sqlite/buildfile13
1 files changed, 8 insertions, 5 deletions
diff --git a/odb/sqlite/buildfile b/odb/sqlite/buildfile
index 4f27da6..02c3238 100644
--- a/odb/sqlite/buildfile
+++ b/odb/sqlite/buildfile
@@ -71,19 +71,22 @@ lib{odb-sqlite}: 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/sqlite/details \
--guard-prefix LIBODB_SQLITE_DETAILS --generate-file-scanner \
--cli-namespace odb::sqlite::details::cli --long-usage
+
+ # 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
}