package b0

  1. Overview
  2. Docs
Software construction and deployment kit

Install

dune-project
 Dependency

Authors

Maintainers

Sources

b0-0.0.6.tbz
sha512=e9aa779e66c08fc763019f16d4706f465d16c05d6400b58fbd0313317ef33ddea51952e2b058db28e65f7ddb7012f328c8bf02d8f1da17bb543348541a2587f0

doc/b0.file/B0_driver/Compile/index.html

Module B0_driver.CompileSource

Driver compilation.

Driver compilation is automatically handled by with_b0_file. But a few driving bits are exposed here.

Sourceval build_dir : Conf.t -> driver:t -> B0_std.Fpath.t

build_dir c ~driver is a build directory for driver driver in configuration c.

Sourceval build_log : Conf.t -> driver:t -> B0_std.Fpath.t

build_log c ~driver is a build log file for driver driver in configuration c.

Sourceval exe : Conf.t -> driver:t -> B0_std.Fpath.t

exe c ~driver is the driver executable for driver driver in configuration c.

Sourceval compile : Conf.t -> driver:t -> feedback:bool -> B0_file.t -> (B0_std.Fpath.t, string) result

compile c ~driver b0_file compiles b0_file with driver driver in configuration c. If all is well the executable file path is returned. feedback indicates whether errors are reported interactively.