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
637 638 639 640 641 642 643 |
# File 'lib/daedalus.rb', line 637 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
633 634 635 |
# File 'lib/daedalus.rb', line 633 def library "#{@library}.a" end |