Skip to content

ignoredefaultlibraries

starkos edited this page Apr 10, 2021 · 2 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


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

Clone this wiki locally