Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: ocamlbuild, knowing what is being built
Hello,

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 ?

Thanks,

Daniel