Ninja
Public Types | Public Member Functions | Public Attributes | List of all members
BuildConfig Struct Reference

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

#include <build.h>

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. More...
 
int parallelism
 
Verbosity verbosity
 

Detailed Description

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

Definition at line 121 of file build.h.

Member Enumeration Documentation

Enumerator
NORMAL 
QUIET 
VERBOSE 

Definition at line 125 of file build.h.

Constructor & Destructor Documentation

BuildConfig::BuildConfig ( )
inline

Definition at line 122 of file build.h.

Member Data Documentation

bool BuildConfig::dry_run
int BuildConfig::failures_allowed

Definition at line 133 of file build.h.

Referenced by Builder::Build().

double BuildConfig::max_load_average

The maximum load average we must not exceed.

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

Definition at line 136 of file build.h.

Referenced by RealCommandRunner::CanRunMore().

int BuildConfig::parallelism

Definition at line 132 of file build.h.

Referenced by RealCommandRunner::CanRunMore().

Verbosity BuildConfig::verbosity

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