Index: trunk/doc/design/10_forge.html =================================================================== --- trunk/doc/design/10_forge.html (revision 8155) +++ trunk/doc/design/10_forge.html (revision 8156) @@ -84,7 +84,7 @@
{des10:12} The following binary operators are defined for integers, with @@ -112,9 +112,25 @@
{des10:14} Parenthesis affects the precedence the usual way. -
{des10:15} One of the factors that can be used in conditional forge is +project stance, which is a collection of project build options: when +the same project can be used to produce differently configured boards/circuits, +stance values determine which option is currently displayed or exported. -TODO +
{des10:16} Each stance has a name and an arbitrary textual value. Optionally +the implementation may provide a list of possible values. All values are +invented by the user. +
{des10:17} The implementation is free to define stance names but the +following three must be supported: +
standard stances + | ||
---|---|---|
name | usage provisions + | |
model | for the simplest cases, this single stance selects which one of the build configurations is used (e.g. which model or variant of the board is made) + | |
sub_major | major subtype; if there's a build option that is orthogonal to the model, this stance should be used + | |
sub_minor | minor subtype; if there's a build option that is orthogonal to both the model and the sub_major stances, this stance should be used + |