blob: 5a4dd3659fc617d43be4cd79a5bbcfd7c1a8da06 (
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
|
(************************************************************************)
(* * The Coq Proof Assistant / The Coq Development Team *)
(* v * INRIA, CNRS and contributors - Copyright 1999-2018 *)
(* <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) *)
(************************************************************************)
exception Parsing_error of string
type project = {
project_file : string option;
makefile : string option;
install_kind : install option;
use_ocamlopt : bool;
v_files : string list;
mli_files : string list;
ml4_files : string list;
ml_files : string list;
mllib_files : string list;
mlpack_files : string list;
ml_includes : path list;
r_includes : (path * logic_path) list;
q_includes : (path * logic_path) list;
extra_args : string list;
defs : (string * string) list;
(* deprecated in favor of a Makefile.local using :: rules *)
extra_targets : extra_target list;
subdirs : string list;
}
and extra_target = {
target : string;
dependencies : string;
phony : bool;
command : string;
}
and logic_path = string
and path = { path : string; canonical_path : string }
and install =
| NoInstall
| TraditionalInstall
| UserInstall
val cmdline_args_to_project : curdir:string -> string list -> project
val read_project_file : string -> project
val coqtop_args_from_project : project -> string list
val find_project_file : from:string -> projfile_name:string -> string option
|