Reference tables

Compiler ids

These are return values of the get_id method in a compiler object.

ValueCompiler family
gccThe GNU Compiler Collection
clangThe Clang compiler
msvcMicrosoft Visual Studio
intelIntel compiler
llvmLLVM-based compiler (Swift, D)
monoXamarin C# compiler
dmdD lang reference compiler
rustcRust compiler
valacVala compiler
pathscaleThe Pathscale Fortran compiler
pgiThe Portland Fortran compiler
sunSun Fortran compiler
g95The G95 Fortran compiler
open64The Open64 Fortran Compiler
nagforThe NAG Fortran compiler
lccElbrus C/C++/Fortran Compiler
armARM compiler
armclangARMCLANG compiler

Script environment variables

ValueComment
MESON_SOURCE_ROOTAbsolute path to the source dir
MESON_BUILD_ROOTAbsolute path to the build dir
MESONINTROSPECTCommand to run to run the introspection command, may be of the form python /path/to/meson introspect, user is responsible for splitting the path if necessary.
MESON_SUBDIRCurrent subdirectory, only set for run_command

CPU families

These are returned by the cpu_family method of build_machine, host_machine and target_machine. For cross compilation they are set in the cross file.

ValueComment
x8632 bit x86 processor
x86_6464 bit x86 processor
ia64Itanium processor
arm32 bit ARM processor
aarch6464 bit ARM processor
mips32 bit MIPS processor
mips6464 bit MIPS processor
ppc32 bit PPC processors
ppc6464 bit PPC processors
e2kMCST Elbrus processor
pariscHP PA-RISC processor
sparc64SPARC v9 processor

Any cpu family not listed in the above list is not guaranteed to remain stable in future releases.

Operating system names

These are provided by the .system() method call.

ValueComment
linux
darwinEither OSX or iOS
windowsAny version of Windows
cygwinThe Cygwin environment for Windows
haiku
freebsdFreeBSD and its derivatives
dragonflyDragonFly BSD
netbsd

Any string not listed above is not guaranteed to remain stable in future releases.

Language arguments parameter names

These are the parameter names for passing language specific arguments to your build target.

LanguageParameter name
Cc_args
C++cpp_args
C#cs_args
Dd_args
Fortranfortran_args
Javajava_args
Objective Cobjc_args
Objective C++objcpp_args
Rustrust_args
Valavala_args