Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CMakeOutputConsumer

Class which consumes output from CMake.

This class is in charge of logging CMake's output, as well as parsing and collecting warnings and errors from the configure step. It should be used in conjunction with proc.execute.

Hierarchy

  • CMakeOutputConsumer

Implements

Index

Constructors

Properties

Accessors

Methods

Object literals

Constructors

constructor

Properties

Private _diagnostics

_diagnostics: FileDiagnostic[] = [] as FileDiagnostic[]

Optional logger

logger: Logger

sourceDir

sourceDir: string

Accessors

diagnostics

Methods

Private _commitDiag

  • _commitDiag(): void

Private _parseDiags

  • _parseDiags(line: string): void

error

  • error(line: string): void

output

  • output(line: string): void

Object literals

Private _errorState

_errorState: object

The state for the diagnostic parser. Implemented as a crude FSM

blankLines

blankLines: number = 0

diag

diag: null = null

state

state: "init" = "init"

Generated using TypeDoc