OCaml Forge

Detail: [#560] camlidl support

Feature Requests: Browse | Download .csv | Monitor

[#560] camlidl support

Date:
2010-04-18 01:42
Priority:
3
State:
Open
Submitted by:
Hezekiah Carty (hcarty)
Assigned to:
Sylvain Le Gall (gildor-admin)
Resolution:
None
Due in version:
None
Product:
None
Component:
None
Operating System:
None
 
Summary:
camlidl support

Detailed description
It would be nice to have camlidl support in OASIS for generating bindings to larger C libraries.

Followup

Message
Date: 2010-04-18 21:51
Sender: Hezekiah Carty

I do have some camlidl support in a myocamlbuild.ml for one of my projects:

http://0ok.org/cgit/cgit.cgi/ocaml-hdf/tree/myocamlbuild.ml

Most of the lines from 50 on have to do with camlidl support, with the main "rule" defined on lines 65-74.

OCamlMakefile has support out of the box for camlidl. I originally used this support for these bindings, with the last used revision of that OCamlMakefile-dependent Makefile here:

http://0ok.org/cgit/cgit.cgi/ocaml-hdf/tree/Makefile?id=5e21df4280a615c687ad75dd3a5d3f9d753353ef
Date: 2010-04-18 21:35
Sender: Sylvain Le Gall

I don't think it is a good idea to have a direct support of camlidl in OASIS, however, this can be a plugin that add certain rules to build camlidl files.

For now these rules should be implemented as a part of myocamlbuild.ml.

Do you have already written these rules for one of your project ?

Attached Files:

Changes:

Field Old Value Date By
assigned_tonone2010-04-18 22:21gildor-admin