package oasis

  1. Overview
  2. Docs

Handle output of 'ocamlc -config'

Read output of command ocamlc -config and transform it into environment variables.

  • author Sylvain Le Gall
val ocamlc : unit -> string

The ocamlc command line tool. Use BaseStandardVar.ocamlc variable if you want a safe way to access this variable.

val var_define : OASISTypes.name -> unit -> string

Look for the variable name in the 'ocamlc -config' output and define it.