UnionLibrary - combine multiple static libraries into a single library.
The :sources for this library should be an array of Library objects
# File lib/makeconf/library.rb, line 98 def initialize(options) raise ArgumentError unless options.kind_of?(Hash) @buildable = [] options[:sources].each do |x| x.buildable.each do |y| @buildable.push y if y.kind_of?(StaticLibrary) end end @buildable.flatten! # Build a list of all source files within each component library sources = [] @buildable.each { |x| sources.push x.sources } sources.flatten! @buildable.push StaticLibrary.new( :id => options[:id], :sources => sources ) end
Generated with the Darkfish Rdoc Generator 2.