caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] cppo, ocamlbuild, and dependencies
@ 2017-01-31 21:50 François Pottier
  2017-02-01 10:19 ` Gabriel Scherer
  0 siblings, 1 reply; 4+ messages in thread
From: François Pottier @ 2017-01-31 21:50 UTC (permalink / raw)
  To: caml-list; +Cc: github, Gabriel Scherer


Dear OCaml users,

I am trying to use cppo and ocamlbuild together.

Suppose the file a.cppo.ml contains the line:
   #include "b.cppo.ml".

Then, the build fails. As far as I understand, ocamlbuild is not aware 
of the
dependency a.cppo.ml -> b.cppo.ml, so the source file b.cppo.ml is not even
copied to the _build directory.

I am using the build rules bundled with cppo (in the module 
Ocamlbuild_cppo).

Shouldn't these build rules be improved so as to perform a genuine 
dependency
computation? Has anyone run into this issue?

Thanks,

--
François Pottier
francois.pottier@inria.fr
http://gallium.inria.fr/~fpottier/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-01 17:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-31 21:50 [Caml-list] cppo, ocamlbuild, and dependencies François Pottier
2017-02-01 10:19 ` Gabriel Scherer
2017-02-01 13:40   ` François Pottier
2017-02-01 17:10     ` Gabriel Scherer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).