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 | 09ef37f84eebf735dc7f5a65936044d27bb70590 (patch) | |
tree | 60178dbf470a5cbf451f7b9626f98f4e7bb6079e /hello/buildfile | |
parent | c2e5c72f11fc5991ca508545d300c9b9edf64e33 (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 fc85f49..d2a4a66 100644 --- a/hello/buildfile +++ b/hello/buildfile @@ -6,10 +6,10 @@ lib{hello}: {hxx cxx}{hello} hxx{export} $imp_libs $int_libs # 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 |