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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-05-25 (11:34)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] ocamlbuild and subdirectories
On 5/25/07, Joel Reymont <joelr1@gmail.com> wrote:
> Currently I have all the source code under src/ and invoke ocamlbuild
> like this:
> ocamlbuild src/topdog.cma
> Is there a way to skip the src and just use the following?
> ocamlbuild topdog.cma
> I do have myocamlbuild.ml and _tags.

If you want a shorter command, you can pack targets in a .itarget file.

$ cat all.itarget

$ ocamlbuild all.otarget

Hope this helps

Nicolas Pouillard