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