Class: PaperHouse::StaticLibraryTask

Inherits:
LibraryTask show all
Defined in:
lib/paper_house/static_library_task.rb

Overview

Compiles *.c files into a static library.

Instance Attribute Summary

Attributes inherited from BuildTask

#cc, #name, #target_directory

Attributes included from CcOptions

#cflags, #includes, #sources

Instance Method Summary collapse

Methods inherited from LibraryTask

find_by_name, #initialize, #library_name, #library_name=, #lname

Methods inherited from BuildTask

#initialize, #target_path

Constructor Details

This class inherits a constructor from PaperHouse::LibraryTask

Instance Method Details

#target_file_nameObject

Name of target library file.


9
10
11
# File 'lib/paper_house/static_library_task.rb', line 9

def target_file_name
  library_name + '.a'
end