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 and c libs
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-09-30 (21:52)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: ocamlbuild and c libs
Hello (Nicolas),

Is it possible to specify build flags and deps in a compositional  
way ? That is I have C bindings in a libdip/ dir, I would like to  
specify the additional flags and dep there, not in the toplevel  
myocamlbuild.ml. I tried to make the toplevel plugin refer to  
external modules but it seems to be compiled in a restricted  
environement. I also tried to define a myocamlbuild.ml in libdip/ but  
it seems to be ignored. Is there something like a plugin hierarchy as  
with the _tag files ?




By the way I couldn't find it in the documentation but ocamlbuild  
ignores any directory starting with an underscore even if you include  
it explictly with a tag, is that right ?