summaryrefslogtreecommitdiff
path: root/format
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
commit436fd5437eb10463aa8e7cbf8751b91797d1402f (patch)
treeed1ed6bd4ff9f6a41776c8eec56224438075dc80 /format
parentcfbc9e176c3a3679369c968edfc8134240b1da6c (diff)
Switch to version module
Diffstat (limited to 'format')
-rw-r--r--format/buildfile6
1 files changed, 3 insertions, 3 deletions
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