Skip to main content

_OS

:::caution_ This has been deprecated in Premake 5.0 alpha 12. Use the new _TARGET_OS instead. :::

Stores the name of the operating system currently being targeted; see system() 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