Itarget

From Gallium

Jump to: navigation, search

An .itarget file allows you to build several targets just by asking Ocamlbuild to build one target (the .otarget file). For instance:

$ cat all.itarget
doc.docdir/index.html
main.byte
main.native

If you run:

ocamlbuild all.otarget

Ocamlbuild will build your project, bytecode and native, and its documentation.

No links will be created in your main directory though.

Personal tools
Espace privé