Skip to main content

externalwarnings

Controls the level of warnings that are shown by the compiler for headers that are considered external.

externalwarnings "value"

If no value is set for a configuration, the toolset's default warning level will be used.

Parameters

value specifies the desired level of warning:

ValueDescription
OffDo not show any warning messages.
DefaultUse the toolset's default warning level.
ExtraEnable the toolset's maximum warning level.
HighEnable the toolset's maximum warning level.
EverythingEnable the toolset's maximum warning level.

Applies To

Project configurations.

Availability

Premake 5.0 or later. Visual Studio 2019 version or later.

Examples

externalwarnings "Off"

See Also