premake/website/docs/ignoredefaultlibraries.md
2021-03-12 22:10:24 +01:00

587 B

Specifies the default libraries to be ignored for a project.

ignoredefaultlibraries { "libraries" }

Parameters

'libraries' is a list of library names. If a valid extension isn't present, .lib will be automatically appended, similar to links. Currently, the valid extensions are .lib and .obj.

Applies To

Projects.

Availability

Premake 5.0 or later.

Examples

Specify MSVCRT.lib as a default library to ignore.

project "MyProject"
  ignoredefaultlibraries { "MSVCRT" }

See Also