[Omake] OCAMLFIND, OCAMLFINDFLAGS and -predicates

Aleksey Nogin nogin at metaprl.org
Wed Apr 25 09:43:15 PDT 2007


On 24.04.2007 20:16, Kaspar Rohrer wrote:

> Now for the question: Is there a way in Omake to specify predicates for 
> `ocamlfind ocamlc / ocamlcp / ocamlopt /  ocamlmktop'? I have already 
> tried to set `OCAMLFINDFLAGS = "-predicates lablGL"', but then 
> `ocamlfind ocamldep' chokes because it does not accept the `-predicates' 
> argument'.

Kaspar,

I never used ocamlfind, so I do not really understand all the issues 
involved, but if this just boils down to passing the "-predicates 
lablGL" to "ocamlfind ocamlc" and "ocamlfind ocamlopt", then you just 
need to use

OCAMLFLAGS += -predicates lablGL

or

OCAMLFLAGS += $"-predicates lablGL"

if this is supposed to be passed as a single argument, not as two arguments.

Aleksey


More information about the Omake mailing list