Creates a C options configuration for a specific preset type.
Presets are pre-made C configurations that configure the compiler and linker tasks to work in a specific way. Presets contain the necessary options to compile and link sources for the specified target.
The returned presets can be directly passed to the saker.msvc.ccompile() and saker.msvc.clink() compiler options parameters.
Summary
Identifier | Specifies the identifier that should be assigned to the returned presets for options merging. |
Preset | Required parameter. Specifies one or more preset names for which the presets should be created.
|
Parameters
Specifies the identifier that should be assigned to the returned presets for options merging.
If specified, the presets will only be merged to task inputs which appropriately contain the given identifier.
Collection of COptionsPresetType
Aliases:
Presets
Required parameter.
Specifies one or more preset names for which the presets should be created.
The specified presets will be assigned with the Identifier parameter that specifies as a qualifier for options merging.