Class: coder.make.BuildTool
Package: coder.make
Get path and macro of build tool in Path
btpath = h.getPath
btmacro = h.getPath('macro')
returns
the path of the build tool from coder.make.BuildTool.Paths.btpath
= h
.getPath
returns
the macro for the path of the build tool from coder.make.BuildTool.Pathsbtmacro
= h
.getPath('macro')
If the system command environment specifies a path variable
for the build tool, the value of the path does not need to be specified
by the BuildTool
object.
Enter the following lines:
tc = coder.make.ToolchainInfo;
tool = tc.getBuildTool('C Compiler');
tool.getPath
ans = ''
tool.getPath('macro')
ans = CC_PATH
tool.setPath('/gcc')
tool.Path
ans = Macro : CC_PATH Value : /gcc