[Omake] ocaml syntax omake?

Aleksey Nogin aleksey at nogin.org
Wed Aug 19 17:08:35 PDT 2009


On 18.08.2009 12:17, Craig Falls wrote:

> I'm not sure, but I seem to remember
> hearing of a version of OMake that was just the compilation part without
> the language so that one would use OCaml to write the make files.  Does
> such a thing exist, or was there discussion of such a possibility? 

Hi Craig,

What you've probably heard about is support for "program" syntax for
OMakefiles. It's still the same OMake language (not OCaml), but uses a
more "normal" programming language syntax instead of the Make-style one.
 In the program syntax all the constants have to be explicitly quoted,
while the variable references and function calls no longer have to use
the $(...) syntax. E.g.

A = $(addsuffix .foo, $(FILES))

becomes

A = addsuffix($".foo", FILES)

This is currently an experimental feature. It's present on the latest
0.9.8.x branch SVN, but is not yet present in any released version.

Aleksey


More information about the Omake mailing list