Skip to content

Releases: continuous-delphi/delphi-compiler-versions

Delphi Compiler Versions v1.6.0

08 Apr 00:54
v1.6.0
be3ab6a

Choose a tag to compare

delphi-compiler-versions logo

https://github.com/continuous-delphi/delphi-compiler-versions

Tag: v1.6.0

Direct downloads:

This release publishes an updated dataset of Delphi compiler versions
and the generated artifacts used by Delphi projects and tooling.

Versions

  • Release: v1.6.0
  • dataVersion: 1.1.0
  • schemaVersion: 1.1.0

Artifacts

The following files are attached to this release.

File Purpose
DELPHI_COMPILER_VERSIONS.inc Conditional defines for Delphi compiler detection
DelphiCompilerVersions.pas Runtime lookup unit for Delphi compiler information
PlatformSupport.md Visual cross reference of platforms supported by Delphi version
delphi-compiler-versions.json Canonical dataset used by generators and tools

Quick Usage

Delphi include file

{$I DELPHI_COMPILER_VERSIONS.inc}

{$IFDEF VER360}
  // Delphi 12 Athens
{$ENDIF}

Delphi runtime unit

uses DelphiCompilerVersions;

var
  V: TDelphiVersion;
begin
  if IsCurrentDelphiCompilerVersionKnown then
  begin
    V := CurrentDelphiCompilerVersion;
    ShowMessage(V.ProductName);
  end;
end;

JSON dataset

Tools and build systems can consume the dataset directly.

Example (selected fields shown):

{
  "verDefine": "VER360",
  "productName": "Delphi 12 Athens",
  "compilerVersion": "36.0"
}


Change Log

  • RTLVersion added to TDelphiVersion within the generated DelphiCompilerVersions.pas
    #26