caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Sylvain Le Gall <sylvain@le-gall.net>
To: caml-list@inria.fr
Subject: Re: ocamlbuild and packs
Date: Fri, 19 Nov 2010 08:59:48 +0000 (UTC)	[thread overview]
Message-ID: <slrniecf44.r67.sylvain@gallu.homelinux.org> (raw)
In-Reply-To: <1290093018.2954.163.camel@saorge.inria.fr>

On 18-11-2010, Thomas Gazagnaire <thomas.gazagnaire@inria.fr> wrote:
> Hi all,
>
> I've got a source tree with the following patterns :
>
> A/a.ml (defines 'let x = 1')
>
> B/a.ml (use A.x and defines 'let y = 2')
> B/b.ml
> B/b.mlpack (contains 'A B')
>
> C/a.ml (use A.x)
> C/b.ml (use B.A.y)
> C/c.mlpack (contains 'A B')
>
> Is there any way with ocamlbuild to build that tree (if possible using
> only _tags files, but if not I would be happy to have at least a
> solution :-) ?
>

You can try to start building A/a.mlpack and use the generated library
in other libraries.

Regards,
Sylvain Le Gall


  reply	other threads:[~2010-11-19  9:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-18 15:10 Thomas Gazagnaire
2010-11-19  8:59 ` Sylvain Le Gall [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-11-18 15:29 Thomas Gazagnaire
2008-01-31 11:55 Romain Bardou

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=slrniecf44.r67.sylvain@gallu.homelinux.org \
    --to=sylvain@le-gall.net \
    --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;
as well as URLs for NNTP newsgroup(s).