diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-01-22 09:35:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-01-22 09:47:40 +0200 |
commit | ac03ae75f46196c09cec0e3e45f401dc59faee73 (patch) | |
tree | 778ac2220ffa0a01c567f8083527c7428b30d8ff /libbuild2/bin/init.cxx | |
parent | 6e91cb7cdb0c4f000a79d20d8578890d56bcdc84 (diff) |
Redo bin.lib.version not to require empty key
Diffstat (limited to 'libbuild2/bin/init.cxx')
-rw-r--r-- | libbuild2/bin/init.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libbuild2/bin/init.cxx b/libbuild2/bin/init.cxx index ff00e89..fb82d21 100644 --- a/libbuild2/bin/init.cxx +++ b/libbuild2/bin/init.cxx @@ -144,8 +144,11 @@ namespace build2 vp.insert<string> ("bin.lib.load_suffix"); vp.insert<string> ("bin.lib.load_suffix_pattern"); - vp.insert<map<string, string>> ("bin.lib.version"); - vp.insert<string> ("bin.lib.version_pattern"); + // @@ TMP: update bdep-new generated projects, documentation not to use + // @ for platform-independent version. + // + vp.insert<map<optional<string>, string>> ("bin.lib.version"); + vp.insert<string> ("bin.lib.version_pattern"); return true; } |