Main Content

getBuildTool

Class: coder.make.ToolchainInfo
Namespace: coder.make

Get BuildTool object

Syntax

bldtl_handle = h.getBuildTool(bldtl_name)

Description

bldtl_handle = h.getBuildTool(bldtl_name) returns the BuildTool object that has the specified name.

Input Arguments

expand all

A coder.make.ToolchainInfo object, specified using an object handle, such as h. To create h, enter h = coder.make.ToolchainInfo in a MATLAB® Command Window.

Build tool name, specified as a character vector or string scalar.

Data Types: char | string

Output Arguments

expand all

coder.make.BuildTool object handle.

Examples

bldtl_handle = h.getBuildTool('C Compiler')
bldtl_handle = 

##############################################
# Build Tool: Intel C Compiler
##############################################

Language              : 'C'
OptionsRegistry       : {'C Compiler','CFLAGS'}
InputFileExtensions   : {'Source'}
OutputFileExtensions  : {'Object'}
DerivedFileExtensions : {'|>OBJ_EXT<|'}
SupportedOutputs      : {'*'}
CommandPattern        : '|>TOOL<| |>TOOL_OPTIONS<| |>OUTPUT_FLAG<||>OUTPUT<|'

# ---------
# Command
# ---------
CC = icl
CC_PATH  = 

# ------------
# Directives
# ------------
Debug              = -Zi
Include            = 
IncludeSearchPath  = -I
OutputFlag         = -Fo
PreprocessorDefine = -D

# -----------------
# File Extensions
# -----------------
Header = .h
Object = .obj
Source = .c

Version History

Introduced in R2013a