Main Content

target.RepeatingDirective Class

Namespace: target

Describe repeated command-line flag for tools

Since R2023a

Description

If a command-line flag for a build tool is repeated for multiple tools, you can use a target.RepeatingDirective object to describe the flag. For example, multiple preprocessor definition flags can require a separate instance of the -D directive for each preprocessor macro being defined.

To create a target.RepeatingDirective object, use the setDirective method of the target.BuildTool object.

Properties

expand all

Name of directive.

Attributes:

GetAccess
public
SetAccess
public

Value of directive.

Attributes:

GetAccess
public
SetAccess
public

Version History

Introduced in R2023a