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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-03-02 (13:44)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: Re: [Caml-list] ocamlbuild & deps

Nicolas told me that the actual order for static dependencies in that  
example would also be that one :

> (((B1 || B2); B) || ((C1 || C2); C)); A

However he points out that there's still a difference between static  
and dynamic dependencies : static dependencies can control the way  
rules are selected. If two rules can build a target but the first rule  
has a static dependency that cannot be built then the second rule will  
be tried. Dynamic dependencies cannot do that since once a rule is  
invoked it is considered to be definitively selected.