aboutsummaryrefslogtreecommitdiff
path: root/libbrep
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-03-05 13:18:11 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-03-05 17:53:46 +0300
commit719a878ea705fad59e60fe15625aacaab2684a81 (patch)
tree1cdff9e006938ae767d7ad91ad2ab1aa26fbda82 /libbrep
parent6b6e71bf65cd0960d21acc800f3dc7fde0fa485e (diff)
Align with latest bdep-new
Diffstat (limited to 'libbrep')
-rw-r--r--libbrep/buildfile30
1 files changed, 22 insertions, 8 deletions
diff --git a/libbrep/buildfile b/libbrep/buildfile
index 95f70a3..250c740 100644
--- a/libbrep/buildfile
+++ b/libbrep/buildfile
@@ -30,20 +30,34 @@ lib{brep}: \
# clean results in a state identical to distributed).
#
hxx{version}: in{version} $src_root/manifest
-hxx{version}: dist = true
-hxx{version}: clean = ($src_root != $out_root)
+hxx{version}:
+{
+ dist = true
+ clean = ($src_root != $out_root)
+}
+
+# Export options.
+#
+lib{brep}:
+{
+ cxx.export.poptions = "-I$out_root" "-I$src_root"
+ cxx.export.libs = $int_libs
+}
# For pre-releases use the complete version to make sure they cannot be used
-# in place of another pre-release or the final version.
+# in place of another pre-release or the final version. See the version module
+# for details on the version.* variable values.
#
if $version.pre_release
lib{brep}: bin.lib.version = @"-$version.project_id"
else
lib{brep}: bin.lib.version = @"-$version.major.$version.minor"
-lib{brep}: cxx.export.poptions = "-I$out_root" "-I$src_root"
-lib{brep}: cxx.export.libs = $int_libs
-
-# Install into the libbrep/ subdirectory of, say, /usr/include/.
+# Install into the libbrep/ subdirectory of, say, /usr/include/
+# recreating subdirectories.
#
-{hxx ixx txx}{*}: install = include/libbrep/
+{hxx ixx txx}{*}:
+{
+ install = include/libbrep/
+ install.subdirs = true
+}