Package: coder.make
Represent build configuration
A build configuration contains information on how to build source code and binaries.
Give each build configuration a unique name that you can use to reference or access it, such as ‘Faster Builds’.
A build configuration contains options with values. Each option maps to a build tool in the ToolchainInfo object that uses the build configuration.
For example, a build configuration can contain options for the
following build tools in coder.make.ToolchainInfo
:
C Compiler
C++ Compiler’
Linker
Shared Library Linker
Archiver
The value of each option can vary from one build configuration to another. For example, the “Faster Runs” build configuration can have compiler options that include optimization flags, while the “Debug” build configuration can have compiler options that include a symbolic debug flag.
ConfigObj
= coder.make.BuildConfiguration(ConfigName
,{Name
,Value
,...})
addOption | Add new option |
getOption | Get value of option |
info | Get information about build configuration |
isOption | Determine if option exists |
keys | Get all option names |
setOption | Set value of option |
values | Get all option values |
Handle. To learn how handle classes affect copy operations, see Copying Objects.