function prop = getToolsProp(h,toolType)

%   Copyright 2014 The MathWorks, Inc.

switch lower( toolType )
    case 'build'
        prop = h.BuildTools;
    case 'prebuild'
        prop = h.PrebuildTools;
    case 'postbuild'
        prop = h.PostbuildTools;
    otherwise
        assert( false, [ 'Unrecognized build tool type: ', toolType ] )
end
end
