premake/website/docs/externalwarnings.md
2022-01-03 08:31:44 -08:00

1.1 KiB

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:

Value Description
Off Do not show any warning messages.
Default Use the toolset's default warning level.
Extra Enable the toolset's maximum warning level.
High Enable the toolset's maximum warning level.
Everything Enable the toolset's maximum warning level.

Applies To

Project configurations.

Availability

Premake 5.0 or later. Visual Studio 2022 version 17.0 or later.

Examples

externalwarnings "Off"

See Also