module Exts:sig..end
Exts defines sets of file extensions.
type ext
The type for file extensions.
typet =ext list
The type for lists of file extensions.
val interface : tinterface is exts [".mli"; ".cmi"; ".cmti"].
val cmx : ext listcmx is ext ".cmx".
val api : tapi is interface @ cmx.
val real_c_library : ext listreal_c_library is the extension for C libraries (archives).
This should be used by C libraries (e.g. stubs) compiled by
OCaml. For example Topkg.Pkg.clib uses this. The actual value
is determined from OCaml's configuration.
val c_library : ext listc_library is the extension for C libraries (archives). This is like
Topkg.Exts.real_c_library but for those C archive that are generated by OCaml
build artefacts. The actual value is determined from
OCaml's configuration.
val c_dll_library : ext listc_dll_library is the extension for C dynamic libraries (archives). The
actual value is determined from OCaml's configuration.
val library : ext listlibrary is exts [".cma"; ".cmxa"; ".cmxs"] @ c_library
val module_library : ext listmodule_library is (api @ library).
val exe : ext listexe is the extension for executables. The actual value is determined
from OCaml's configuration.
val exts : string list -> ext listexts ss is ss as a list of extensions.
val ext : string -> ext listext s is s as a list of extensions.