addBuildTool
Class: coder.make.ToolchainInfo
Namespace: coder.make
Add BuildTool
object to BuildTools
Syntax
tool = h.addBuildTool(bldtl_name)
tool = h.addBuildTool(bldtl_name, bldtl_handle)
Description
creates and adds a named tool
= h
.addBuildTool(bldtl_name
)BuildTool
object to coder.make.ToolchainInfo.BuildTools
.
adds an existing tool
= h
.addBuildTool(bldtl_name
, bldtl_handle
)BuildTool
object to coder.make.ToolchainInfo.BuildTools
. The bldtl_name
argument
overrides the Name
property of the existing BuildTool
object.
Tips
Refer to the Examples for coder.make.BuildTool
for
an example of how to create a BuildTool
object.
Input Arguments
Output Arguments
Examples
Refer to the coder.make.BuildTool Examples for a complete example of how to create a
addBuildTool
.
Create a Build Tool and Specify Its Name
h.addBuildTool('ExampleBuildTool')
ans = ############################################## # Build Tool: Build Tool ############################################## Language : 'C' OptionsRegistry : {} InputFileExtensions : {} OutputFileExtensions : {} DerivedFileExtensions : {} SupportedOutputs : {'*'} CommandPattern : '|>TOOL<| |>TOOL_OPTIONS<| |>OUTPUT_FLAG<| |>OUTPUT<|' # --------- # Command # --------- # ------------ # Directives # ------------ (none) # ----------------- # File Extensions # ----------------- (none)
Version History
Introduced in R2013a