English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2008-03-10 (21:13)
From: Dario Teixeira <darioteixeira@y...>
Subject: Re: [Caml-list] Ocamlbuild with findlib + camlp4
Hi Romain,

> to your myocamlbuild.ml, 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 http://uk.docs.yahoo.com/nowyoucan.html