CoqProject_file
type project = {
project_file : string option; |
makefile : string option; |
native_compiler : native_compiler option; |
docroot : string option; |
files : string sourced list; |
cmd_line_files : string sourced list; |
meta_file : meta_file; |
ml_includes : path sourced list; |
r_includes : (path * logic_path) sourced list; |
q_includes : (path * logic_path) sourced list; |
extra_args : string sourced list; |
defs : (string * string) sourced list; |
}
val cmdline_args_to_project : warning_fn:(string -> unit) -> curdir:string ->
string list -> project
val read_project_file : warning_fn:(string -> unit) -> string -> project
read_project_file warning_fn file
parses file
as a Coq project; use warning_fn
for deprecate options; raise Parsing_error
on illegal options or arguments; raise UnableToOpenProjectFile msg
if the file could not be opened; fails on some illegal non-project-file options
val coqtop_args_from_project : project -> string list
val map_sourced_list : ('a -> 'b) -> 'a sourced list -> 'b list
val map_cmdline : ('a -> 'b) -> 'a sourced list -> 'b list
Only uses the elements with source=CmdLine
val forget_source : 'a sourced -> 'a