From 8845d8209d2a01f205aec85a808afb3076edeeb5 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Mon, 2 Dec 2002 14:13:52 +0000 Subject: [PATCH] Add explanation of property validity [SVN r16475] --- boost_build_v2.html | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/boost_build_v2.html b/boost_build_v2.html index 58152fd3b..94f7827f7 100644 --- a/boost_build_v2.html +++ b/boost_build_v2.html @@ -21,12 +21,12 @@ br.clear { clear: left } div.alert { color: red } table { align: center; border: thin; } - + + - build request, build request expansion and directly requested targets + - conditional properties + -->

Defintions
+
Property Validity
+
Feature Attributes
Feature Declaration
@@ -485,6 +487,16 @@ boost-build /path/to/boost.build ;

A build specification is a property set which fully describes the set of features used to build a target.

+

Property Validity

+ For free features, all values are valid. For all + other features, the valid values are explicitly specified, and the build + system will report an error for the use of an invalid feature-value. + Subproperty validity may be restricted so that certain values are valid + only in the presence of certain other subproperties. For example, it is + possible to specify that the <gcc-target>mingw + property is only valid in the presence of + <gcc-version>2.95.2. +

Feature Attributes

Each feature has a collection of zero or more of the following @@ -524,7 +536,7 @@ boost-build /path/to/boost.build ;

  • - free + free

    Most features have a finite set of allowed values, and can only take on a single value from that set in a given build specification.