-
-
Notifications
You must be signed in to change notification settings - Fork 619
optimize
starkos edited this page Sep 29, 2013
·
7 revisions
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 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. |
Size | Optimize for the smallest file size. |
Speed | Optimize for the best performance. |
Solutions, projects, and project configurations.
Premake 5.0.
#!lua
optimize "Speed"