Module: Gaudi::Configuration::BuildModules::ComponentConfiguration

Defined in:
lib/gaudi/helpers/configuration.rb

Overview

Configuration directoves for simple components

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.list_keysObject

:stopdoc:


486
487
488
# File 'lib/gaudi/helpers/configuration.rb', line 486

def self.list_keys
  ['deps','incs']
end

.path_keysObject


489
490
491
# File 'lib/gaudi/helpers/configuration.rb', line 489

def self.path_keys
  ['incs']
end

Instance Method Details

#dependenciesObject Also known as: deps

A list of prefixes that represent dependencies to the system's internal components


501
502
503
# File 'lib/gaudi/helpers/configuration.rb', line 501

def dependencies
  return @config.fetch('deps',Rake::FileList.new)
end

#external_includesObject Also known as: incs

A list of paths to be used as include paths when compiling

Relative paths are interpreted relative to the configuration file's location


507
508
509
# File 'lib/gaudi/helpers/configuration.rb', line 507

def external_includes
  return @config.fetch('incs',Rake::FileList.new)
end

#prefixObject

:startdoc: The prefix is the name of the component

It's called prefix for historical reasons ;)


496
497
498
# File 'lib/gaudi/helpers/configuration.rb', line 496

def prefix
  return @config.fetch('prefix',"")
end