The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
817 B
15 lines
817 B
# Option fully deprecated, it warns when any value is set. |
|
option('o1', type: 'boolean', deprecated: true) |
|
|
|
# One of the choices is deprecated, it warns only when 'a' is in the list of values. |
|
option('o2', type: 'array', choices: ['a', 'b'], deprecated: ['a']) |
|
|
|
# One of the choices is deprecated, it warns only when 'a' is in the list of values |
|
# and replace it by 'c'. |
|
option('o3', type: 'array', choices: ['a', 'b', 'c'], deprecated: {'a': 'c'}) |
|
|
|
# A boolean option has been replaced by a feature, old true/false values are remapped. |
|
option('o4', type: 'feature', deprecated: {'true': 'enabled', 'false': 'disabled'}) |
|
|
|
# A feature option has been replaced by a boolean, enabled/disabled/auto values are remapped. |
|
option('o5', type: 'boolean', deprecated: {'enabled': 'true', 'disabled': 'false', 'auto': 'false'})
|
|
|