Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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
src/topdog.cma
src/topdog.cmxa
...

$ ocamlbuild all.otarget

Hope this helps

-- 
Nicolas Pouillard