Skip to main content

staticruntime

Specifies if the static runtime should be used.

staticruntime ("value")

Parameters​

ValueVisual StudioXCodegmake
DefaultDoes not set a value for <RuntimeLibrary>No EffectNo Effect
OnSets <RuntimeLibrary> to "MultiThreaded"No EffectNo Effect
OffSets <RuntimeLibrary> to "MultiThreadedDLL"No EffectNo Effect

Applies To​

Project configurations.

Availability​

Premake 5.0.0-alpha12 or later.

Examples​

staticruntime "on"