Skip to content

ModeToString

Converts build mode to string representation

Declaration

Source position: fpmkunit.pp line 1712

function ModeToString(Mode: TCompilerMode) : string;

Arguments

Name Description
Mode Build mode to convert to string

Function result

String representation of the build mode

Description

ModeToString converts a build mode identifier enumeration to its string representation. This function provides human-readable names for build modes used in build configuration.

The string representation includes modes such as debug, release, and other build configurations useful for logging and user interface display within the build system.