Skip to content
Snippets Groups Projects
Commit ad3d3098 authored by Raoul Hidalgo Charman's avatar Raoul Hidalgo Charman
Browse files

format_project.rst: Add docs for OptionOS

parent 027d6ca4
No related branches found
No related tags found
No related merge requests found
Pipeline #38258330 failed
......@@ -572,6 +572,30 @@ Architecture options can be tested with the same expressions
as other Enumeration options.
.. _project_options_os:
OS
~~
The ``os`` option type is a special enumeration option, which defaults to the
results of `uname -s`. It does not support assigning any default in the project
configuration.
.. code:: yaml
options:
machine_os:
type: os
description: The machine OS
values:
- Linux
- SunOS
- Darwin
- FreeBSD
Os options can be tested with the same expressions as other Enumeration options.
.. _project_options_element_mask:
Element mask
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment