premake/website/docs/runtime.md
2021-03-12 22:10:24 +01:00

576 B

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"