Skip to main content

runtime

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 one of:

ValueDescription
DebugUse debug runtime libraries.
ReleaseUse release runtime libraries.

Applies To

Project configurations.

Availability

Premake 5.0.0-alpha1 or later.

Examples

Force selection of a release runtime.

filter { "configurations:Debug" }
symbols "On"
runtime "Release"