Changes between Version 1 and Version 2 of ConDitions

Show
Ignore:
Timestamp:
2007-12-12 00:05:20 (3 years ago)
Author:
Vaclav Slavik
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ConDitions

    v1 v2  
    1010There 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: 
    1111{{{ 
     12#!xml 
    1213<define-tag name='foo' rules='exe'> 
    1314  <add-target target='bar' type='action' cond="compiler='baz'"/>