premake/website/docs/staticruntime.md

29 lines
651 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
staticruntime
```lua
staticruntime "value"
```
### Parameters ###
| Value | Visual Studio | XCode | gmake |
|------------|-----------------------------------------------|-----------|-----------|
| `on` | Sets `<RuntimeLibrary>` to "MultiThreaded" | No Effect | No Effect |
| `off` | Sets `<RuntimeLibrary>` to "MultiThreadedDLL" | No Effect | No Effect |
| `default` | Does not set a value for `<RuntimeLibrary>` | No Effect | No Effect |
### Applies To ###
The `config` scope.
### Availability ###
Premake 5.0.0 alpha 12 or later.
### Examples ###
```lua
staticruntime "on"
```