Class: Daedalus::StaticLibrary
Instance Attribute Summary
Attributes inherited from Library
Instance Method Summary collapse
Methods inherited from Library
#clean, #consider, #initialize, #name, #object_files, #out_of_date?, #path, #source_files
Constructor Details
This class inherits a constructor from Daedalus::Library
Instance Method Details
#build(compiler) ⇒ Object
695 696 697 698 699 700 701 |
# File 'lib/daedalus.rb', line 695 def build(compiler) Dir.chdir @base do # TODO: out of date checking should be subsumed in building @sources.each { |s| s.build @compiler if s.out_of_date? @compiler } @compiler.ar name, object_files end end |
#library ⇒ Object
691 692 693 |
# File 'lib/daedalus.rb', line 691 def library "#{@library}.a" end |