function checkBuildToolsForAdd(h,desc,prop,name,tool)

%   Copyright 2014-2020 The MathWorks, Inc.

if prop.isKey( name )
    warning( message( 'coder_compile:toolchain:BuildToolExists', h.Name, desc, name ) );
end
h.checkIfValidTool( name, tool );
end
