diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-28 16:46:06 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-28 16:46:06 +0300 |
commit | 0de08dc04a93585d5279a71ea3fd6dd59cbbead8 (patch) | |
tree | c8178ccdda3e06b04d0d51d2699261a6b22fecd4 /brep/buildfile | |
parent | 241afb3b9982d9c6d836b6dbbcef10418d80299c (diff) |
Switch to version module
Diffstat (limited to 'brep/buildfile')
-rw-r--r-- | brep/buildfile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/brep/buildfile b/brep/buildfile index aeb1848..2da0281 100644 --- a/brep/buildfile +++ b/brep/buildfile @@ -31,13 +31,16 @@ lib{brep}: \ $int_libs \ sql{build package package-extra} +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{brep}: bin.lib.version = @-$version +if $version.pre_release + lib{brep}: bin.lib.version = @"-$version.project_id" else - lib{brep}: bin.lib.version = @-$abi_major.$abi_minor + 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 |