soc.sdk.BuildConfiguration Class
Namespace: soc.sdk
Configuration that describes how to build generated code
Description
A BuildConfiguration
object that specifies a build configuration for
soc.sdk.Toolchain
object.
Creation
Description
creates
an object that represents a build configuration for the toolchain.buildConfigurationObj
= soc.sdk.BuildConfiguration(name
)
Input Arguments
Set the Name
property of the new
BuildConfiguration
object.
Example: "MyBuildConfiguration"
Data Types: string
| char
Properties
The assembler flags used when compiling code with this build configuration.
Example: '--statistics'
Attributes:
GetAccess | public |
SetAccess | public |
Data Types: char
The C compiler flags used when compiling code with this build configuration.
Example: '-Wall'
Attributes:
GetAccess | public |
SetAccess | public |
Data Types: char
The C linker flags used when linking code with this build configuration.
Example: '-pipe'
Attributes:
GetAccess | public |
SetAccess | public |
Data Types: char
The C++ compiler flags used when compiling code with this build configuration.
Example: '-Wall'
Attributes:
GetAccess | public |
SetAccess | public |
Data Types: char
The C++ linker flags used when linking code with this build configuration.
Example: '-pipe'
Attributes:
GetAccess | public |
SetAccess | public |
Data Types: char
The additional include paths used when compiling code with this build configuration.
Note
Include paths may include tokens. If a path separator is included as part of the path, it must be valid for all supported host platforms.
Example: {'-pipe'}
Attributes:
GetAccess | public |
SetAccess | public |
Data Types: cell
The include paths to be excluded when compiling code with this build configuration.
Note
Include paths may include tokens. If a path separator is included as part of the path, it must be valid for all supported host platforms.
Example: {'-pipe'}
Attributes:
GetAccess | public |
SetAccess | public |
Data Types: cell
The additional link objects used when linking code with this build configuration. A link object must include a full path.
Note
The path may include tokens. If a path separator is included as part of the path, it must be valid for all supported host platforms.
Attributes:
GetAccess | public |
SetAccess | public |
Data Types: cell
Name of the BuildConfiguration
object.
Example: 'MyBuildConfiguration'
Attributes:
GetAccess | public |
SetAccess | public |
Data Types: char
The additional source files used when compiling code with this build configuration.
Example: 'mysource.c'
Attributes:
GetAccess | public |
SetAccess | public |
Data Types: cell
The source files to be excluded when compiling code with this build configuration. A source file must include a full path.
Note
The path may include tokens. If a path separator is included as part of the path, it must be valid for all supported host platforms.
Example: 'mysource.c'
Attributes:
GetAccess | public |
SetAccess | public |
Data Types: cell
Version History
Introduced in R2019b
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)