diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-28 15:43:54 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-28 15:43:54 +0300 |
commit | c2cf5867b7c80fa0a24ddf1a509f726739771b43 (patch) | |
tree | 12c5db96a451db4cce5c327eb113402968a00dcc /bbot/buildfile | |
parent | 7d02874cf4c7c0ced29750905b96c02ff383e3d0 (diff) |
Switch to version module
Diffstat (limited to 'bbot/buildfile')
-rw-r--r-- | bbot/buildfile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/bbot/buildfile b/bbot/buildfile index 27bde1a..0a53207 100644 --- a/bbot/buildfile +++ b/bbot/buildfile @@ -11,13 +11,16 @@ lib{bbot}: \ {hxx }{ version } \ $int_libs +hxx{version}: in{version} $src_root/file{manifest} +hxx{version}: dist = true + # For pre-releases use the complete version to make sure they cannot be used # in place of another pre-release or the final version. # -if $abi_prerelease - lib{bbot}: bin.lib.version = @-$version +if $version.pre_release + lib{bbot}: bin.lib.version = @"-$version.project_id" else - lib{bbot}: bin.lib.version = @-$abi_major.$abi_minor + lib{bbot}: bin.lib.version = @"-$version.major.$version.minor" cxx.poptions =+ "-I$src_root" obja{*}: cxx.poptions += -DLIBBBOT_STATIC_BUILD |