package oasis

  1. Overview
  2. Docs
Tooling for building OCaml libraries and applications

Install

Dune Dependency

Authors

Maintainers

Sources

oasis-0.4.7.tar.gz
sha256=54bc4b80e4a38719124e8fb0125c6f3404bda514b87b8749b51442e023de998d
md5=d848bac0234ed1849a9187d16630cda3

doc/oasis.base/BaseCheck/index.html

Module BaseCheck

Check host system features

  • author Sylvain Le Gall
val prog_best : OASISTypes.prog -> OASISTypes.prog list -> unit -> OASISTypes.host_filename

Look for a program among a list of alternative program * the first found is returned.

Check the presence of a particular program.

val prog_opt : OASISTypes.prog -> unit -> OASISTypes.host_filename

Check the presence of a program or its native version.

val ocamlfind : unit -> OASISTypes.host_filename

The ocamlfind command line tool, used to query version of package. Use BaseStandardVar.ocamlfind variable if you want a safe way to access this variable.

version var_pref cmp ver () Check version ver (), using cmp and OASISVersion.comparator_apply. Generate a variable prefixed by var_pref and using OASISVersion.varname_of_comparator.

Get findlib package version .

val package : ?version_comparator:OASISVersion.comparator -> OASISTypes.findlib_full -> unit -> OASISTypes.host_dirname

Check for findlib package and version. Return install directory.

OCaml

Innovation. Community. Security.