summaryrefslogtreecommitdiff
path: root/print/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-28 15:28:58 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-28 15:28:58 +0200
commit62ad02821c5676bf47de0d23ad7a79b67d7a8ae8 (patch)
tree14d9636d60ea3b0c232b900e29ea57572990e150 /print/buildfile
parent597749c3f0041a3ff321cca0cf6ef704e36164fd (diff)
Switch to version module
Diffstat (limited to 'print/buildfile')
-rw-r--r--print/buildfile6
1 files changed, 3 insertions, 3 deletions
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