premake/website/docs/inlining.md

27 lines
771 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
Tells the compiler when it should inline functions.
```lua
inlining ("value")
```
### Parameters ###
`value` is one of:
| | |
|-----------|--------------------------------------------------------------------|
| Default | Allow the compiler to use its default inlining behavior. |
| Disabled | Turn off inlining entirely. |
| Explicit | Only inline functions explicitly marked with the `inline` keyword. |
| Auto | Allow the compiler to inline functions automatically. |
More values may be added by [add-on modules](Modules.md).
### Applies To ###
Project configurations.
### Availability ###
Premake 5.0 or later.