Changes between Version 1 and Version 2 of ConDitions
- Timestamp:
- 2007-12-12 00:05:20 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ConDitions
v1 v2 10 10 There is also a special condition, one where the condition is cond="target" or begins with cond="target and ". It's used in set and add-target commands and means that the condition extends the conditions of the parent target. For example, suppose that you have to do some extra work after compilation with a particular toolset, and that your project includes some conditionally built targets. You write the following add-target tag: 11 11 {{{ 12 #!xml 12 13 <define-tag name='foo' rules='exe'> 13 14 <add-target target='bar' type='action' cond="compiler='baz'"/>