winamp/Src/external_dependencies/openmpt-trunk/include/premake/website/docs/architecture.md

50 lines
890 B
Markdown
Raw Permalink Normal View History

2024-09-24 12:54:57 +00:00
Specifies the system architecture to be targeted by the configuration.
```lua
architecture ("value")
```
### Parameters ###
`value` is one of:
* `universal`: The universal binaries supported by iOS and macOS
* `x86`
* `x86_64`
* `ARM`
* `ARM64`
Additional values that are aliases for the above:
* `i386`: Alias for `x86`
* `amd64`: Alias for `x86_64`
* `x32`: Alias for `x86`; There is intent to deprecate this
* `x64`: Alias for `x86_64`; There is intent to deprecate this
### Applies To ###
Project configurations.
### Availability ###
Premake 5.0 or later.
### Examples ###
Set up 32- and 64-bit Windows builds.
```lua
workspace "MyWorkspace"
configurations { "Debug32", "Release32", "Debug64", "Release64" }
filter "configurations:*32"
architecture "x86"
filter "configurations:*64"
architecture "x86_64"
```
### See Also ###
* [system](system.md)