From 5f3c97306cda519e7edf41142ee903d22320c84a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 31 Aug 2016 19:23:32 +0300 Subject: Build infrastructure update --- odb/buildfile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'odb') diff --git a/odb/buildfile b/odb/buildfile index 7bbf495..aae2bf9 100644 --- a/odb/buildfile +++ b/odb/buildfile @@ -92,6 +92,14 @@ details/shared-ptr/{hxx }{ counter-type } \ details/shared-ptr/{hxx }{ exception } \ details/win32/{hxx }{ windows } +# 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{odb}: bin.lib.version = @-$version +else + lib{odb}: bin.lib.version = @-$abi_major.$abi_minor + cxx.poptions =+ -I$src_root -DLIBODB_BUILD2 obja{*}: cxx.poptions += -DLIBODB_STATIC_BUILD objs{*}: cxx.poptions += -DLIBODB_SHARED_BUILD -- cgit v1.1