Module Ocaml_make (.ml)


module Ocaml_make: sig .. end
A command to launch "make" (on optional targets) and, in case of error, parse the error output looking for ocaml compilation error messages. The first error message is used to open the indicated file at the indicated location. Just add a shortcut like "C-m" in the ocaml mode configuration file to use it.

To handle some warnings (i.e. to automatically open a file at a location when a warning is indicated), set the global variable warn_error to a string defining the warnings of interest, the same way as with the -w option of the OCaml compiler. This can be done by putting in your ~/.cameleon2/chamo_init.ml file something like:

 Cam_commands.set_global "warn_error" "FSE" 

Author(s): Maxence Guesdon
Version: 0.1
Cameleon.Ocaml_make