function setProjectTool(h, toolStr)

%   Copyright 2015 The MathWorks, Inc.

assert(h.generatesIDEProject);
tool = feval(toolStr);
assert(isa(tool,'coder.make.ProjectTool'));
h.BuilderApplication.Directives.getValue('ProjectTool').setValue(toolStr);
end
