Skip to content
Yotam Barnoy edited this page Apr 6, 2014 · 7 revisions

Basic Tools

Findlib/ocamlfind

ocamlfind could be said to be a pkg-config for OCaml. It is a tool for locating OCaml libraries on users' systems, so that users do not have to specify the location of each library themselves. ocamlfind is commonly used by other, more complex tools of all kinds, including build systems and the ocaml REPL.

Build Systems

Some of the following is taken from http://ocaml.org/learn/tutorials/dev_tools.html#Compilationtools

The default way to build medium to large projects on Unix platforms has long since been the GNU Make utility. This method, however, tends to be error-prone, and requires careful (and sometimes tedious) management of files. As a result, several tools have been developed to make building OCaml projects easier.

ocamlbuild

ocamlbuild is a relatively easy-to-use replacement for Makefiles that comes bundled along with OCaml. Advanced use of ocamlbuild involves creating a _tags file that specifies build rules for files and directories. More documentation can be found in the OCaml manual or at the ocamlbuild wiki.

oasis

OCamlMakefile

OMake

OMake is a build system designed for scalability and portability. It uses a syntax similar to make utilities you may have used, but it features many additional enhancements.

See the guide.

Clone this wiki locally