From 436fd5437eb10463aa8e7cbf8751b91797d1402f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 28 Apr 2017 15:28:58 +0200 Subject: Switch to version module --- format/buildfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'format/buildfile') diff --git a/format/buildfile b/format/buildfile index c21eb88..e296bb7 100644 --- a/format/buildfile +++ b/format/buildfile @@ -3,10 +3,10 @@ lib{format}: {hxx cxx}{format} hxx{export} # 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{format}: bin.lib.version = @-$version +if $version.pre_release + lib{format}: bin.lib.version = @"-$version.project_id" else - lib{format}: bin.lib.version = @-$abi_major.$abi_minor + lib{format}: bin.lib.version = @"-$version.major.$version.minor" cxx.poptions =+ "-I$src_root" obja{*}: cxx.poptions += -DLIBFORMAT_STATIC_BUILD -- cgit v1.1