aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-11-28 13:19:55 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-11-28 13:19:55 +0200
commit174d5f785d073cadafe56e7087fca35b08e4cc94 (patch)
tree334c6f90d6afbe51fdb66f77dd9eda56d25a1afb
parentfb4be044bfbadd7ad62e3aaeaaadb9f30d4769aa (diff)
Add dist support
-rw-r--r--build/bootstrap.build4
-rw-r--r--buildfile2
-rw-r--r--butl/buildfile16
3 files changed, 20 insertions, 2 deletions
diff --git a/build/bootstrap.build b/build/bootstrap.build
index 199bd03..7343ae2 100644
--- a/build/bootstrap.build
+++ b/build/bootstrap.build
@@ -3,5 +3,9 @@
# license : MIT; see accompanying LICENSE file
project = libbutl
+version = 0.1.0
using config
+using dist
using test
+
+dist.package = $project-$version
diff --git a/buildfile b/buildfile
index 3248471..3a303ef 100644
--- a/buildfile
+++ b/buildfile
@@ -3,5 +3,5 @@
# license : MIT; see accompanying LICENSE file
d = butl/ tests/
-.: $d
+./: $d file{version}
include $d
diff --git a/butl/buildfile b/butl/buildfile
index a1b5a32..b810b33 100644
--- a/butl/buildfile
+++ b/butl/buildfile
@@ -2,6 +2,20 @@
# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-lib{butl}: cxx{char-scanner fdstream filesystem path process timestamp}
+lib{butl}: \
+{ hxx cxx }{ char-scanner } \
+{ hxx cxx }{ fdstream } \
+{ hxx ixx cxx }{ filesystem } \
+{ hxx }{ multi-index } \
+{ hxx }{ optional } \
+{ hxx ixx txx cxx }{ path } \
+{ hxx }{ path-io } \
+{ hxx }{ path-map } \
+{ hxx txx }{ prefix-map } \
+{ hxx ixx cxx }{ process } \
+{ hxx txx }{ string-table } \
+{ hxx cxx }{ timestamp } \
+{ hxx }{ utility }
+
cxx.poptions += -I$src_root
lib{butl}: cxx.export.poptions = -I$src_root