[Omake] Re: Propagating values

Luis O'Shea loshea at gmail.com
Thu Mar 1 19:40:12 PST 2007


Aleksey Nogin <nogin <at> metaprl.org> writes:

> 
> On 27.02.2007 11:01, Luis O'Shea wrote:
> 
> > Suppose I have a number of subprojects each of which is in charge of 
[snip]
> > it wants built.  My question is, how to propagate them up the hierarchy?
> 
> While you can use a global variable and force propagation of its value 
> back up from the subprojects, there is no need to do that in this case. 
> As in a normal make, in OMake you can specify dependencies for a target 
> in several times in more than one place, and all those dependencies will 
> be appended together.

Thank you  -- that's what I wanted to know.

Could you give a brief description of how the merging of rules works?  
For example, calling omake from a subdir results in parent omakefiles being 
read, but the rules don't get merged.  However in the parent dir merging 
occurs.  (This, of course, is what one would want ...)

Thanks.



More information about the Omake mailing list