Main Content
addDirective
Class: coder.make.BuildTool
Namespace: coder.make
Add directive to Directives
Syntax
h.addDirective(name,value)
Description
creates a named directive, assigns a value to it, and adds it to h
.addDirective(name
,value
)coder.make.BuildTool.Directives
.
Input Arguments
Examples
tc = coder.make.ToolchainInfo; tool = tc.getBuildTool('C Compiler'); tool.addDirective('IncludeSearchPath','-O'); tool.setDirective('IncludeSearchPath','-I'); tool.getDirective('IncludeSearchPath')
ans = -I
Version History
Introduced in R2013a