Skip to main content

toolchainversion

Specifies the version of the toolchain to use.

toolchainversion ("value")

Parameters

value is one of:

Android Projects

ValueDescription
4.6GCC 4.6
4.8GCC 4.8
4.9GCC 4.9
3.4Clang 3.4
3.5Clang 3.5
3.6Clang 3.6
3.8Clang 3.8
5.0Clang 5.0

Linux Projects

ValueDescription
remoteRemote compilation and debugging
wslWindows Subsystem for Linux
wsl2Windows Subsystem for Linux 2

Applies To

Project configurations.

Availability

Premake 5.0.0-alpha14 or later, only applies to Android projects. Premake 5.0.0-beta3 or later, only applies to Visual Studio Linux projects. Deprecated in 5.0.0-beta8. Use toolset API with version instead, such as toolset 'gcc-4.6' or toolset 'clang-wsl2'.

Examples

toolchainversion "5.0"