Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: caml-list@inria.fr
Subject: ocamlbuild, knowing what is being built
Date: Sat, 10 Jul 2010 14:24:43 +0200	[thread overview]
Message-ID: <AANLkTikl9KT0ZqOkb9HiTOPL4Mlb9t615ZLgzKzyr4qY@mail.gmail.com> (raw)

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


             reply	other threads:[~2010-07-10 12:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-10 12:24 Daniel Bünzli [this message]
2010-07-15 15:56 ` Daniel Bünzli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikl9KT0ZqOkb9HiTOPL4Mlb9t615ZLgzKzyr4qY@mail.gmail.com \
    --to=daniel.buenzli@erratique.ch \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox