From: "Hezekiah M. Carty" <hcarty@atmos.umd.edu>
To: "Caml-list List" <caml-list@inria.fr>
Subject: ocamlbuild and camlidl
Date: Tue, 4 Mar 2008 22:53:07 -0500 [thread overview]
Message-ID: <3a360f590803041953x7e67e255nfd9a593e6a0f779c@mail.gmail.com> (raw)
I wrote a myocamlbuild.ml to use camlidl from within ocamlbuild if
anyone is interested. I would also be happy to receive any pointers
on how to improve this.
The relevant files can be found here:
http://code.google.com/p/ocaml-plplot/source/browse/trunk/
The important pieces are:
- myocamlbuild.ml which has a "rule" section for handling .idl files
- libocaml_plplot.clib which defines the C portion of the library wrapper
- Makefile which exports some environment variables and handles a
few other items
The Makefile could be folded in to myocamlbuild.ml with a few
Unix.open_process_in calls, but I don't see a need to do so at this
time.
Once this has been refined a bit I will add it or ask that it be added
to the ocamlbuild wiki.
Hez
--
Hezekiah M. Carty
Graduate Research Assistant
University of Maryland
Department of Atmospheric and Oceanic Science
reply other threads:[~2008-03-05 3:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3a360f590803041953x7e67e255nfd9a593e6a0f779c@mail.gmail.com \
--to=hcarty@atmos.umd.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