Ninja
Public Types | Public Member Functions | Public Attributes
BuildConfig Struct Reference

Options (e.g. verbosity, parallelism) passed to a build. More...

#include <build.h>

List of all members.

Public Types

enum  Verbosity { NORMAL, QUIET, VERBOSE }

Public Member Functions

 BuildConfig ()

Public Attributes

bool dry_run
int failures_allowed
double max_load_average
 The maximum load average we must not exceed.
int parallelism
Verbosity verbosity

Detailed Description

Options (e.g. verbosity, parallelism) passed to a build.

Definition at line 124 of file build.h.


Member Enumeration Documentation

Enumerator:
NORMAL 
QUIET 
VERBOSE 

Definition at line 128 of file build.h.


Constructor & Destructor Documentation

Definition at line 125 of file build.h.


Member Data Documentation

Definition at line 136 of file build.h.

Referenced by Builder::Build().

The maximum load average we must not exceed.

A negative value means that we do not have any limit.

Definition at line 139 of file build.h.

Referenced by RealCommandRunner::CanRunMore().

Definition at line 135 of file build.h.

Referenced by RealCommandRunner::CanRunMore().


The documentation for this struct was generated from the following file: