architecture
Specifies the system architecture to be targeted by the configuration.
architecture ("value")
Parameters
value is one of:
universal: The universal binaries supported by iOS and macOSx86x86_64ARMARM64RISCV64loongarch64ppcppc64wasm32,wasm64,e2k,mips64el,armv5: Only supported in VSAndroid projectsarmv7: Only supported in VSAndroid projectsaarch64: Only supported in VSAndroid projectsmips: Only supported in VSAndroid projectsmips64: Only supported in VSAndroid projects
Additional values that are aliases for the above:
i386: Alias forx86amd64: Alias forx86_64x32: Alias forx86; There is intent to deprecate thisx64: Alias forx86_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.
workspace "MyWorkspace"
configurations { "Debug32", "Release32", "Debug64", "Release64" }
filter "configurations:*32"
architecture "x86"
filter "configurations:*64"
architecture "x86_64"