Class TCompilationDatabase
Unit
Neslib.Clang
Declaration
type TCompilationDatabase = class(TInterfacedObject, ICompilationDatabase)
Description
Implements ICompilationDatabase
Hierarchy
- TInterfacedObject
- TCompilationDatabase
Overview
Methods
Description
Methods
|
constructor Create(const AHandle: TCXCompilationDatabase); |
|
|
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.
|
|
destructor Destroy; override; |
|
Generated by PasDocEx, based on PasDoc 0.14.0.
|