caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* ocamlbuild and camlidl
@ 2008-03-05  3:53 Hezekiah M. Carty
  0 siblings, 0 replies; only message in thread
From: Hezekiah M. Carty @ 2008-03-05  3:53 UTC (permalink / raw)
  To: Caml-list List

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-05  3:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-05  3:53 ocamlbuild and camlidl Hezekiah M. Carty

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).