[Omake] SVN Commit: OMake Build System (Rev. 10740)

Aleksey Nogin nogin at metaprl.org
Mon May 14 11:19:18 PDT 2007


On 14.05.2007 11:09, Jason Hickey wrote:

> We could enforce the 3-place rule, but we need an easy syntax for the 
> case where all the variables are exported and there are no dependencies 
> (the common case).  The export should have the same syntax as <exports> 
> in "export <exports>".

Right - it is kind of unfortunate that we use an empty string to mean 
"all", while also using an algebra whose identity element is "none".

I would propose we introduce an explicit qualifier ".ALL" for this.

E.g.

.STATIC: .ALL:
     ...

.STATIC: .ALL: foo.txt
     TXT = $(cat foo.txt)

We can still allow omitting .ALL in the first case (no dependencies), 
but not in the second one.

Aleksey


More information about the OMake-Devel mailing list