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 the "status bar"
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-02-27 (12:58)
From: Joel Reymont <joelr1@g...>
Subject: Re: ocamlbuild and the "status bar"

On Feb 27, 2007, at 11:04 AM, Joel Reymont wrote:

> I really like this tool but I can't figure out where to get the  
> nifty "status bar" functionality described towards the end of the  
> slides.

This is a rather silly question so I retract it. A much better  
question is the following...

How do I integrate ocamlbuild with external libraries?

I have OUnit installed in /usr/local/lib/ocaml/site-lib/ounit since  
it uses ocamlfind during installation. I have to use a longish  
command line to make OUnit examples compile, like this:

ocamlbuild -cflags -I,/usr/local/lib/ocaml/site-lib/ounit -lflags -I,/ 
usr/local/lib/ocaml/site-lib/ounit -libs unix,ounit test_list.byte

Maybe the solution here is to build OUnit with ocamlbuild but I  
haven't figured how to do this yet. Investigating!

	Thanks, Joel