forked from premake/premake-core
-
Notifications
You must be signed in to change notification settings - Fork 0
optimize
Jason Perkins edited this page Jul 29, 2015
·
6 revisions
The optimize function specifies the level and type of optimization used while building the target configuration.
optimize "value"If no value is set for a configuration, the toolsets default optimization (usually none) will be performed.
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. |
Project configurations.
Premake 5.0.
optimize "Speed"