Class: Cpp::SystemLibrary

Inherits:
Bake::Target show all
Defined in:
lib/bake/cpp_scheme.rb

Constant Summary collapse

ACCESSORS =
:syslib

Instance Attribute Summary collapse

Attributes inherited from Bake::Target

#children, #deps, #name, #parent

Instance Method Summary collapse

Methods inherited from Bake::Target

#child, #dep, #find, #to_s

Methods included from Bake::Configuration

#[], #default, #get, #has_prop?, #is?, #opt, #req

Constructor Details

#initialize(parent, name, file) ⇒ SystemLibrary

Returns a new instance of SystemLibrary.



344
345
346
347
348
349
# File 'lib/bake/cpp_scheme.rb', line 344

def initialize(parent, name, file)
    super(parent)
    @name = name
    @file = file
    opt(:built? => true)
end

Instance Attribute Details

#fileObject (readonly)

Returns the value of attribute file.



342
343
344
# File 'lib/bake/cpp_scheme.rb', line 342

def file
  @file
end