[Omake] Problem with OCAMLDEP_MODULES_ENABLED
Markus Mottl
markus.mottl at gmail.com
Wed Oct 17 12:17:00 PDT 2007
Hi,
when we set the OCAMLDEP_MODULES_ENABLED to true, our project tree
won't build anymore. The reason seems to be that the "include"
directive in OCaml is not handled correctly.
E.g. we have a global "lib" directory, into which we install a packed
library A, which contains a module M.
Now assume that some module in a different project tree contains
"include A" and later "M.foo ()". In that case OMake will complain
that e.g. it cannot build M.o in the current directory of that
project. But it need not build such a file, because M is really a
submodule of the packaged library A, which will be linked later.
Has anybody ever run into this kind of problem? Is there an easy workaround?
OMake builds a fairly large part of our project tree correctly with
this option (which required a few small fixes on our side). This
seems to be the only remaining issue that prevents us from switching
to the new default behavior.
Best regards,
Markus
--
Markus Mottl http://www.ocaml.info markus.mottl at gmail.com
More information about the Omake
mailing list