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 | 0037d0a7d91027e280ea5bbc6b19041f1233911c (patch) | |
tree | 418da3de1e7ba381560ddad82e09d20e13de782a /hello/buildfile | |
parent | 26ea95d6003125f868ad5b2ff129d9203d6b11eb (diff) |
Switch to version module
Diffstat (limited to 'hello/buildfile')
-rw-r--r-- | hello/buildfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hello/buildfile b/hello/buildfile index 5c8d6db..ddf8843 100644 --- a/hello/buildfile +++ b/hello/buildfile @@ -3,10 +3,10 @@ lib{hello}: {hxx cxx}{hello} 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{hello}: bin.lib.version = @-$version +if $version.pre_release + lib{hello}: bin.lib.version = @"-$version.project_id" else - lib{hello}: bin.lib.version = @-$abi_major.$abi_minor + lib{hello}: bin.lib.version = @"-$version.major.$version.minor" cxx.poptions =+ "-I$src_root" obja{*}: cxx.poptions += -DLIBHELLO_STATIC_BUILD |