diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-28 15:28:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-28 15:28:58 +0200 |
commit | 436fd5437eb10463aa8e7cbf8751b91797d1402f (patch) | |
tree | ed1ed6bd4ff9f6a41776c8eec56224438075dc80 /format | |
parent | cfbc9e176c3a3679369c968edfc8134240b1da6c (diff) |
Switch to version module
Diffstat (limited to 'format')
-rw-r--r-- | format/buildfile | 6 |
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 |