premake/website/docs/ignoredefaultlibraries.md

30 lines
587 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
Specifies the default libraries to be ignored for a project.
```lua
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](links.md). 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.
```lua
project "MyProject"
ignoredefaultlibraries { "MSVCRT" }
```
## See Also ##
* [links](links.md)