blob: 1820db4a1e87480bb5432c3f4d9356ba4880a859 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
(************************************************************************)
(* * The Coq Proof Assistant / The Coq Development Team *)
(* v * INRIA, CNRS and contributors - Copyright 1999-2019 *)
(* <O___,, * (see CREDITS file for the list of authors) *)
(* \VV/ **************************************************************)
(* // * This file is distributed under the terms of the *)
(* * GNU Lesser General Public License Version 2.1 *)
(* * (see LICENSE file for the text of the license) *)
(************************************************************************)
module StrSet : Set.S with type elt = string
val coqdep_warning : ('a, Format.formatter, unit, unit) format4 -> 'a
(** [find_dir_logpath dir] Return the logical path of directory [dir]
if it has been given one. Raise [Not_found] otherwise. In
particular we can check if "." has been attributed a logical path
after processing all options and silently give the default one if
it hasn't. We may also use this to warn if ap hysical path is met
twice.*)
val find_dir_logpath: string -> string list
(** Options *)
val option_c : bool ref
val option_noglob : bool ref
val option_boot : bool ref
val write_vos : bool ref
val suffixe : string ref
type dynlink = Opt | Byte | Both | No | Variable
val option_dynlink : dynlink ref
val norec_dirs : StrSet.t ref
type dir = string option
val treat_file : dir -> string -> unit
(** ML-related manipulation *)
val mlAccu : (string * string * dir) list ref
val mliAccu : (string * dir) list ref
val mllibAccu : (string * dir) list ref
val add_ml_known : string -> dir -> string -> unit
val add_mli_known : string -> dir -> string -> unit
val add_mllib_known : string -> dir -> string -> unit
val mL_dependencies : unit -> unit
val coq_dependencies : unit -> unit
val add_known : bool -> string -> string list -> string -> unit
val add_coqlib_known : bool -> string -> string list -> string -> unit
val add_caml_dir : string -> unit
(** Simply add this directory and imports it, no subdirs. This is used
by the implicit adding of the current path. *)
val add_norec_dir_import :
(bool -> string -> string list -> string -> unit) -> string -> string list -> unit
(** -Q semantic: go in subdirs but only full logical paths are known. *)
val add_rec_dir_no_import :
(bool -> string -> string list -> string -> unit) -> string -> string list -> unit
(** -R semantic: go in subdirs and suffixes of logical paths are known. *)
val add_rec_dir_import :
(bool -> string -> string list -> string -> unit) -> string -> string list -> unit
val sort : unit -> unit
|