Main Content

matlabshared.targetsdk.BuildConfiguration Class

Namespace: matlabshared.targetsdk

Configuration that describes how to build generated code

Description

Use the BuildConfiguration class to specify the build configuration for a toolchain that is defined as the application deployment mechanism for your target. For example, a build configuration might define compiler defines and paths for include files.

Creation

H = matlabshared.targetsdk.BuildConfiguration(configurationName) returns a build configuration object H with the Name property set to configurationName.

Input Arguments

expand all

Name of the BuildConfiguration object, specified as a character vector or string scalar.

This argument sets the Name property as a character vector.

Data Types: char | string

Properties

expand all

Assembler flags used when compiling code with this build configuration, specified as a character vector or string scalar.

Data Types: char | string

C compiler flags used when compiling code with this build configuration, specified as a character vector or string scalar.

Data Types: char | string

C++ compiler flags used when compiling code with this build configuration, specified as a character vector or string scalar.

Data Types: char | string

C++ linker flags used when linking code with this build configuration, specified as a character vector or string scalar.

Data Types: char | string

Additional include paths used when compiling code with this build configuration, specified as a cell array of character vectors.

Data Types: cell

Include paths to be excluded when compiling code with this build configuration, specified as a cell array of character vectors.

An include path may include tokens. If a path separator is included as part of the path, it must be valid for all supported host platforms.

Data Types: cell

C linker flags used when linking code with this build configuration, specified as a character vector or string scalar.

Data Types: char | string

Additional link objects used when linking code with this build configuration, specified as a cell array of character vectors.

A link object must include a full path. 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.

Data Types: cell

Name of the BuildConfiguration object, specified as a character vector or string scalar.

Data Types: char | string

Additional source files used when compiling code with this build configuration, specified as a cell array of character vectors.

Data Types: cell

Source files to be excluded when compiling code with this build configuration, specified as a cell array of character vectors. A source file must include a full path. 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.

Data Types: cell

Version History

Introduced in R2015a