debugconstants - premake/premake-dlang GitHub Wiki

Adds debug identifier declarations to a project.

debugconstants { "identifiers" }

Parameters

identifiers specifies a list of debug identifiers to be defined.

Applies To

Solutions, projects, and configurations.

Examples

Define two new debug identifiers in the current project.

debugconstants { "DebugOptimised", "StrictErrorChecks" }