From 174d5f785d073cadafe56e7087fca35b08e4cc94 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 28 Nov 2015 13:19:55 +0200 Subject: Add dist support --- build/bootstrap.build | 4 ++++ buildfile | 2 +- butl/buildfile | 16 +++++++++++++++- 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 -- cgit v1.1