Class TCompilationDatabase

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TCompilationDatabase = class(TInterfacedObject, ICompilationDatabase)

Description

Implements ICompilationDatabase

Hierarchy

  • TInterfacedObject
  • TCompilationDatabase

Overview

Methods

Public constructor Create(const AHandle: TCXCompilationDatabase);
Public class function FromDirectory(const ABuildDir: String): ICompilationDatabase; static;
Public destructor Destroy; override;

Description

Methods

Public constructor Create(const AHandle: TCXCompilationDatabase);
 
Public class function FromDirectory(const ABuildDir: String): ICompilationDatabase; static;

Creates a compilation database from the database found in directory ABuildDir. For example, CMake can output a compile_commands.json which can be used to build the database.

Returns nil if the database cannot be loaded.

Public destructor Destroy; override;
 

Generated by PasDocEx, based on PasDoc 0.14.0.