package oasis

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Register files built to be installed

  • author Sylvain Le Gall
type t =
  1. | BExec
  2. | BExecLib
  3. | BLib
  4. | BObj
  5. | BDoc
val register : ctxt:OASISContext.t -> t -> OASISTypes.name -> OASISTypes.host_filename list list -> unit

Register files built. Each files built is provided as a list of alternatives. At least one alternative file should exist when registering and we only register existing ones.

val unregister : ctxt:OASISContext.t -> t -> OASISTypes.name -> unit

Unregister all files built.

val fold : ctxt:OASISContext.t -> t -> OASISTypes.name -> ('a -> OASISTypes.host_filename -> 'a) -> 'a -> 'a

Fold-left files built, filter existing and non-existing files.

val is_built : ctxt:OASISContext.t -> t -> OASISTypes.name -> bool

Check if a library/object/doc/exec has been built.

of_executable loc_fn (cs, bs, exec) Compute at the same time events that should be registered by register and data returned by OASISExecutable.unix_exec_is. Use loc_fn, if generated files are moved to a directory different from sources (e.g. in directory "_build").

OCaml

Innovation. Community. Security.