function generateBuildConfigurations(h,language)
%

%   Copyright 2014 The MathWorks, Inc.

out = coder.make.internal.LanguageToolRegistry.getItems( language, 'Build Configs' );
% Create the build config objects and add to the toolchain
for i = 1:numel( out.Configs )
    h.addBuildConfigByConstructor( out.Configs{ i }, out.Descriptions{ i } );
end
% Add the build config keys to the list of reserved names
h.addReservedNames( 'BuildConfigs', h.getBuildConfigurationNames() );
end
