Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Ocamlbuild with findlib + camlp4
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Dario Teixeira <darioteixeira@y...>
Subject: Re: [Caml-list] Ocamlbuild with findlib + camlp4
Hi Romain,

> to your, and tag your files with 
> "pkg_sexplib.statements", and use the plugin I wrote which declares the 
> "pkg_*" tags, does it work? (ocamldep might still not work so you might 
> need to tweak it a bit with tags "compile", "link" and "doc").
Thanks for the reply.  Well, the devil is in the details.  At first
I also thought this should be a trivial problem, but Ocamlbuild's
builtin rules always conflict with findlib.

Perhaps the solution that Arnaud just posted to this list (not using
ocamlfind directly but rather to query it) might be the way to go.
Anyway, if someone manages to get ocamlbuild+findlib+camlp4 to work
together I will be glad to hear from them...

> That being said, once Ocamlbuild handles multiple plugins, it will be 
> easy to write your own, standard, generic plugin in your .ocamlbuild 
> directory and use it in all of your projects :)

Yeap, that was the idea.


Sent from Yahoo! Mail.
The World's Favourite Email