Skip to content

runtime

starkos edited this page Apr 10, 2021 · 3 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Choose the type of runtime library to use.

runtime ("type")

If the runtime type is not set, Premake will try to determine the configuration type based on the setting of symbol generation and optimization flags and use the appropriate runtime automatically.

Parameters

type is a string value, one of "Debug" or "Release".

Applies To

Project configurations.

Availability

Premake 5.0 or later.

Examples

Force selection of a release runtime.

filter { "configurations:Debug" }
   symbols "On"
   runtime "Release"
Clone this wiki locally