def platform_settings_for(resource_name)
    return {} if resource_name.empty?

    rv = Hash.new
    rv[:CFLAGS]  = @settings["#{resource_name}_CFLAGS"]
    rv[:CXXFLAGS]= @settings["#{resource_name}_CXXFLAGS"]
    rv[:LDFLAGS] = @settings["#{resource_name}_LDFLAGS"]
    rv = {} if rv.values.empty?
    rv
  end
def platform_settings_for(resource_name)
    return {} if resource_name.empty?

    rv = Hash.new
    rv[:CFLAGS]  = @settings["#{resource_name}_CFLAGS"]
    rv[:CXXFLAGS]= @settings["#{resource_name}_CXXFLAGS"]
    rv[:LDFLAGS] = @settings["#{resource_name}_LDFLAGS"]
    rv = {} if rv.values.empty?
    rv
  end
Returns platform specific settings of a resource (APP/LIB/SOLIB or external resource like e.g. an external library)
 as a hash with the keys CFLAGS, CXXFLAGS and LDFLAGS. The values are empty if no such resource settings exist inside
 the platform file. The resulting hash values can be used for platform specific compilation/linkage against the
 the resource.

 @param resource_name  [String]  name of resource
 @return [Hash]                  Hash of compilation/linkage flags or empty hash if no settings are defined
                                 The returned hash has the following format:
                                 { :CFLAGS => '...', :CXXFLAGS => '...', :LDFLAGS => '...'}