From: Eric Cooper <ecc@cmu.edu>
To: caml-list@inria.fr
Subject: how can I use just a portion of another source directory with ocamlbuild?
Date: Mon, 11 Feb 2008 16:23:15 -0500 [thread overview]
Message-ID: <20080211212315.GA12565@stratocaster.home> (raw)
I would like to re-use a file dir/a.ml from another project. This file
depends on dir/b.ml. Assume I can't modify the contents of dir/ in
any way.
I need to provide a new implementation of just b.ml for my
project. If I just use
<dir>: include
then the compilation of a.ml uses dir/b.ml instead of my ./b.ml.
I can make it work by symlinking dir/a.ml, but in my real project
there are lots of these files and the project directory gets very
cluttered with symlinks. I'm sure there must be a better way, but I
couldn't find much documentation on how to use the plugin APIs.
--
Eric Cooper e c c @ c m u . e d u
next reply other threads:[~2008-02-11 21:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-11 21:23 Eric Cooper [this message]
2008-02-11 22:59 ` [Caml-list] " Jake Donham
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=20080211212315.GA12565@stratocaster.home \
--to=ecc@cmu.edu \
--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).