diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-03-23 09:10:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-03-23 09:10:50 +0200 |
commit | e6b40289f227428901e246149c25ffef18dd4491 (patch) | |
tree | e4951bb9e5ff40f63ad6f6bee0dd4a94f7dab755 /libbuild2/scope.hxx | |
parent | c1c80c10a8d469b2659015429c7695f3dbd51ef2 (diff) |
Make project configuration variables non-nullable by default
A project configuration variable with the NULL default value is naturally
assumed nullable, for example:
config [string] config.libhello.fallback_name ?= [null]
Otherwise, to make a project configuration nullable we use the `null`
variable attribute, for example:
config [string, null] config.libhello.fallback_name ?= "World"
Diffstat (limited to 'libbuild2/scope.hxx')
0 files changed, 0 insertions, 0 deletions