2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-12 12:02:24 +00:00

Added commentary

[SVN r15287]
This commit is contained in:
Dave Abrahams
2002-09-13 01:50:09 +00:00
parent 4f3357c3f4
commit bdb6a9e71c

View File

@@ -388,11 +388,17 @@ rule extend ( feature-or-property subfeature ? : values * )
}
}
# subfeature
#
# subfeature toolset gcc-2.95.2 target-platform : aix linux mac cygwin
#
rule subfeature ( feature value-string ? : subfeature : subvalues * : attributes * )
# Declares a subfeature
rule subfeature (
feature # Root feature that is not a subfeature
value-string ? # A value-string specifying which feature or
# subfeature values this subfeature is specific to,
# if any
: subfeature # The name of the subfeature being declared
: subvalues * # The allowed values of this subfeature
: attributes * # The attributes of the subfeature
)
{
feature = [ grist $(feature) ] ;
validate-feature $(feature) ;