module Project:sig..end
Important. Project values may depend on the configuration
it is the driver's responsability to set a project's configuration
with Assemblage.Private.Project.with_conf otherwise warnings are reported on configuration
use.
include Assemblage.Project
val exists : Assemblage.project -> bool Assemblage.Private.Conf.valueexists p is p's condition of existence.val args : Assemblage.project -> Assemblage.Private.Args.targs p is p's args.val schemes : Assemblage.project -> Assemblage.Private.Conf.scheme listschemes p is p's configuration schemes.val parts : Assemblage.project -> Assemblage.part_kind Assemblage.part listparts p is p's parts.val deps : Assemblage.project -> Assemblage.Private.Conf.Key.Set.tdeps p is the set of configuration keys which may be needed
for evaluating the constituents of p.val conf : Assemblage.project -> Assemblage.Private.Conf.tconf p is the project's configuration.
Note The client should set a configuration whose
domain has is at least Assemblage.Private.Project.deps p using Assemblage.Private.Project.with_conf
otherwise warnings are generated.
val with_conf : Assemblage.project -> Assemblage.Private.Conf.t -> Assemblage.projectwith_conf p c is p with configuration c.val eval : Assemblage.project -> 'a Assemblage.Private.Conf.value -> 'aeval p v is Conf.eval [conf p] v.val eval_key : Assemblage.project -> 'a Assemblage.Private.Conf.key -> 'aeval_key p k is eval p (Conf.value k).val version : Assemblage.project -> string
val products : ?kind:[ `Any | `Input | `Output | `Source ] ->
Assemblage.project -> Assemblage.Path.Set.tproducts kind p is the set of products known to the project
in the current configuration. kind can be used to select
source, input, output or all kind of products, defaults to `Any.val watermark_string : ?suffix:string -> t -> stringwatermark_string suffix p is a watermark that can be used in
the comments of generated files for the project. It consists
of the project name followed by the project Assemblage.Private.Project.version
followed by suffix (defaults says it was generated by
assemblage).val pp_signature : Format.formatter -> t -> unitpp_signature ppf p prints an unspecified signature for p
on ppf, includes the project name and version.val list : unit -> Assemblage.project list