2021-09-08 19:42:18 +00:00
|
|
|
---
|
|
|
|
id: _OS
|
|
|
|
---
|
|
|
|
|
2021-03-11 20:29:22 +00:00
|
|
|
Stores the name of the operating system currently being targeted; see [system()](system.md) for a complete list of OS identifiers.
|
|
|
|
|
|
|
|
The current OS may be overridden on the command line with the `--os` option.
|
|
|
|
|
|
|
|
```
|
|
|
|
$ premake5 --os=linux gmake
|
|
|
|
```
|
|
|
|
|
|
|
|
### Availability ###
|
|
|
|
|
|
|
|
Premake 4.0 or later.
|
|
|
|
|
|
|
|
|
|
|
|
## See Also ##
|
|
|
|
|
|
|
|
* [Using Premake](Using-Premake.md)
|