# File lib/makeconf/library.rb, line 86 def StaticLibrary.disable_all @@enable_static = false end
# File lib/makeconf/library.rb, line 56 def initialize(options) raise ArgumentError unless options.kind_of?(Hash) id = options[:id] super(options) @output = id + Platform.static_library_extension @output = 'lib' + @output unless @output =~ /^lib/ or Platform.is_windows? @output_type = 'static library' @buildable = @@enable_static # FIXME: clashes with shared objects # src = d.sub(/-static#{Platform.object_extension}$/, '.c') end
Generated with the Darkfish Rdoc Generator 2.