dune/src/ocaml_flags.mli

16 lines
403 B
OCaml
Raw Normal View History

2017-04-28 12:19:33 +00:00
(** OCaml flags *)
2017-06-14 15:06:56 +00:00
type t
2017-04-28 12:19:33 +00:00
val make : Jbuild.Buildable.t -> Super_context.t -> scope:Jbuild.Scope.t -> dir:Path.t -> t
2017-04-28 12:19:33 +00:00
val default : unit -> t
val get : t -> Mode.t -> (unit, string list) Build.t
val get_for_cm : t -> cm_kind:Cm_kind.t -> (unit, string list) Build.t
2017-04-28 12:19:33 +00:00
2017-06-14 15:06:56 +00:00
val append_common : t -> string list -> t
val prepend_common : string list -> t -> t
val common : t -> (unit, string list) Build.t