diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-29 09:27:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-29 09:27:08 +0200 |
commit | a0950f84b17c16a93666a73252d9222fd093416b (patch) | |
tree | 61cb0641df1336ed100a1ccfe34d95231a4c724c | |
parent | b7970d20bd1f47de01ac40f7e471f6254a584c9d (diff) |
Add dist support
-rw-r--r-- | bpkg/buildfile | 8 | ||||
-rw-r--r-- | build/bootstrap.build | 4 | ||||
-rw-r--r-- | buildfile | 2 |
3 files changed, 12 insertions, 2 deletions
diff --git a/bpkg/buildfile b/bpkg/buildfile index 41cdb66..2340443 100644 --- a/bpkg/buildfile +++ b/bpkg/buildfile @@ -4,6 +4,12 @@ import libs += libbutl%lib{butl} -lib{bpkg}: cxx{manifest-parser manifest-serializer manifest} $libs +lib{bpkg}: \ +{ hxx cxx }{ manifest } \ +{ hxx cxx }{ manifest-parser } \ +{ hxx cxx }{ manifest-serializer } \ +{ hxx }{ version } \ +$libs + cxx.poptions += -I$src_root lib{bpkg}: cxx.export.poptions = -I$src_root diff --git a/build/bootstrap.build b/build/bootstrap.build index 4c443a9..3023b45 100644 --- a/build/bootstrap.build +++ b/build/bootstrap.build @@ -3,5 +3,9 @@ # license : MIT; see accompanying LICENSE file project = libbpkg +version = 0.1.0 using config +using dist using test + +dist.package = $project-$version @@ -3,5 +3,5 @@ # license : MIT; see accompanying LICENSE file d = bpkg/ tests/ -.: $d +./: $d doc{LICENSE} file{version} include $d |