-
-
Notifications
You must be signed in to change notification settings - Fork 616
toolset
This wiki is no longer being maintained.
Selects the compiler, linker, etc. which are used to build a project or configuration.
toolset ("identifier")
If no toolset is specified for a configuration, the system or IDE default will be used.
identifier
is a string identifier for the toolset. Premake includes the following toolsets by default; others may be added by third-party modules:
Toolset identifier | Description |
---|---|
clang |
Clang |
dotnet |
The system's default C# compiler |
gcc |
GNU Compiler Collection |
msc |
Microsoft C/C++ compiler |
If a specific toolset version is desired, it may be specified as part of the identifer, separated by a dash. See the examples below.
Project configurations.
Premake 5.0 and later. Versions are currently only implemented for Visual Studio 2010+.
Specify version 110 of the Windows platform toolset.
toolset "msc-v110" -- or...
toolset "v100" -- for those more familiar with Visual Studio's way
Use Clang/C2 with Visual Studio
toolset "msc-llvm-vs2014"
Use the toolset for Windows XP
toolset "v140_xp"