oasis icon indicating copy to clipboard operation
oasis copied to clipboard

camlidl support

Open gildor478 opened this issue 4 years ago • 0 comments

This feature request has been migrated from artifact #560 on forge.ocamlcore.org. It was assigned to user102.

user112 posted on 2010-04-18 01:42:34:

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

user102 replied on 2010-04-18 21:35:28:

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 ?

user112 replied on 2010-04-18 21:51:37:

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

gildor478 avatar Oct 24 '20 16:10 gildor478