[Omake] Changes in MenhirMulti or OCamlGeneratedFiles

Aleksey Nogin nogin at metaprl.org
Thu Mar 22 22:27:06 PDT 2007


On 22.03.2007 14:29, Nick Kidd wrote:

> By commenting out the lines:
> 
> OCamlGeneratedFiles(tokens.mli tokens.ml)
> OCamlGeneratedFiles(parser.mli parser.ml ir_lexer.ml)
> 
> the project builds fine. Am I not supposed to use OCamlGeneratedFiles
> with Menhir?

Not quite - if you omit OCamlGeneratedFiles without enabling
OCAMLDEP_MODULES, then your scanned dependencies will be incomplete,
possibly leading to problems. Basically, there are many workarounds that
are at least partially problematic - the only real solution would be to
teach OMake how to detect case-insensitive filesystems.

OMake already knows what to do about case-insensitivity of Windows and
Cygwin, but some extra work would still be needed to make things work on
OS X. Especially if we want it to also account for cases of a mixture of
case-sensitive and case-insensitive filesystem - while not very likely,
this is possible to have...

Aleksey


More information about the Omake mailing list