Initial community commit

This commit is contained in:
Jef
2024-09-24 14:54:57 +02:00
parent 537bcbc862
commit 20d28e80a5
16810 changed files with 4640254 additions and 2 deletions

View File

@@ -0,0 +1,34 @@
The **optimize** function specifies the level and type of optimization used while building the target configuration.
```lua
optimize "value"
```
If no value is set for a configuration, the toolset's default optimization (usually none) will be performed.
### Parameters ###
*value* specifies the desired level of optimization:
| Value | Description |
|-------------|--------------------------------------------------------|
| Off | No optimization will be performed. |
| On | Perform a balanced set of optimizations. |
| Debug | Optimization with some debugger step-through support. |
| Size | Optimize for the smallest file size. |
| Speed | Optimize for the best performance. |
| Full | Full optimization. |
### Applies To ###
Project configurations.
### Availability ###
Premake 5.0.
## Examples ##
```lua
optimize "Speed"
```