Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006145OCamlOCamlbuild (the tool)public2013-08-28 22:542014-04-02 16:44
Assigned To 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006145: camlidl support in ocamlbuild
DescriptionIt would be very nice if ocamlbuild officially supported camlidl targets.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
hcarty (reporter)
2013-08-29 14:25

Here is a snippet which may help if you are interested in adding camlidl support in your own project (add in a dispatch call somewhere):

  | After_rules ->
      rule "camlidl processing"
        ~prods:["%.mli"; ""; "%_stubs.c"]
        begin fun env _build ->
          let idl = env "%.idl" in
          let tags = tags_of_pathname idl++"compile"++"camlidl" in
          let cmd = Cmd(S[camlidl; T tags; P idl]) in
          Seq [cmd]

Formerly in use here: [^]

- Issue History
Date Modified Username Field Change
2013-08-28 22:54 edmcman New Issue
2013-08-29 14:25 hcarty Note Added: 0010257
2014-04-02 16:44 doligez Status new => acknowledged

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker