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, knowing what is being built
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-07-10 (12:24)
From: Daniel_BĂĽnzli <daniel.buenzli@e...>
Subject: ocamlbuild, knowing what is being built

I have two mutually dependent targets t1 and t2. They are not
dependent in the sense that one needs the other to be built, they are
dependent in the sense that after the build the build artifacts of one
target needs the artifacts of the other (e.g. think of two webpages
each refering to the other).

In other words if I build t1 I want t2 to be build and vice-versa.
However doing so in my rule with the 'build' argument will result in a
circular build, is there any way to get the targets that are already
being built when a rule is invoked ?