Skip to main content

dpiawareness

Sets the DPI awareness settings.

dpiawareness "value"

Parameters

value is one of:

ValueDescription
DefaultUse the toolset's default setting for DPI awareness.
NoneTurn off DPI awareness.
HighTurn on DPI awareness.
HighPerMonitorTurn on DPI awareness per monitor.

Applies To

Project configurations.

Availability

Premake 5.0 or later.

Examples

-- Turn on DPI awareness
dpiawareness "High"