Initial community commit
This commit is contained in:
51
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/system.md
vendored
Normal file
51
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/system.md
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
Specifies the target operating system.
|
||||
|
||||
```lua
|
||||
system ("value")
|
||||
```
|
||||
|
||||
If no system is specified, Premake will identify and target the current operating system. This can be overridden with the `--os` command line argument, providing one of the system identifiers below.
|
||||
|
||||
### Parameters ###
|
||||
|
||||
`value` is one of:
|
||||
|
||||
* aix
|
||||
* bsd
|
||||
* [haiku](http://www.haiku-os.org)
|
||||
* linux
|
||||
* macosx
|
||||
* solaris
|
||||
* wii
|
||||
* windows
|
||||
* xbox360
|
||||
|
||||
### Applies To ###
|
||||
|
||||
Project configurations.
|
||||
|
||||
### Availability ###
|
||||
|
||||
Premake 5.0 or later.
|
||||
|
||||
### Examples ###
|
||||
|
||||
```lua
|
||||
workspace "MyWorkspace"
|
||||
configurations { "Debug", "Release" }
|
||||
system { "Windows", "Unix", "Mac" }
|
||||
|
||||
filter "system:Windows"
|
||||
system "windows"
|
||||
|
||||
filter "system:Unix"
|
||||
system "linux"
|
||||
|
||||
filter "system:Mac"
|
||||
system "macosx"
|
||||
```
|
||||
|
||||
### See Also ###
|
||||
|
||||
* [architecture](architecture.md)
|
||||
* [_OS](premake_OS.md)
|
||||
Reference in New Issue
Block a user