32 lines
685 B
OCaml
32 lines
685 B
OCaml
(** OCaml module compilation *)
|
|
|
|
open Import
|
|
|
|
(** Setup rules to build a single module. *)
|
|
val build_module
|
|
: ?sandbox:bool
|
|
-> ?js_of_ocaml:Jbuild.Js_of_ocaml.t
|
|
-> ?dynlink:bool
|
|
-> dep_graphs:Ocamldep.Dep_graphs.t
|
|
-> Compilation_context.t
|
|
-> Module.t
|
|
-> unit
|
|
|
|
(** Setup rules to build all of the modules in the compilation context. *)
|
|
val build_modules
|
|
: ?sandbox:bool
|
|
-> ?js_of_ocaml:Jbuild.Js_of_ocaml.t
|
|
-> ?dynlink:bool
|
|
-> dep_graphs:Ocamldep.Dep_graphs.t
|
|
-> Compilation_context.t
|
|
-> unit
|
|
|
|
val ocamlc_i
|
|
: ?sandbox:bool
|
|
-> ?flags:string list
|
|
-> dep_graphs:Ocamldep.Dep_graphs.t
|
|
-> Compilation_context.t
|
|
-> Module.t
|
|
-> output:Path.t
|
|
-> unit
|