Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Caml-list] ocamlbuild and camlidl

30 views
Skip to first unread message

Hezekiah M. Carty

unread,
Mar 4, 2008, 10:53:33 PM3/4/08
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

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

0 new messages