Class: MxxRu::Cpp::ObjInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/mxx_ru/cpp/toolset.rb

Overview

Class, describing object file.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(a_name, a_source, a_options) ⇒ ObjInfo

Returns a new instance of ObjInfo.



45
46
47
48
49
# File 'lib/mxx_ru/cpp/toolset.rb', line 45

def initialize( a_name, a_source, a_options )
  @name = a_name
  @source = a_source
  @options = a_options
end

Instance Attribute Details

#nameObject (readonly)

The name of object file.



38
39
40
# File 'lib/mxx_ru/cpp/toolset.rb', line 38

def name
  @name
end

#optionsObject (readonly)

The list of additional compiler options for that file. Array of String.



43
44
45
# File 'lib/mxx_ru/cpp/toolset.rb', line 43

def options
  @options
end

#sourceObject (readonly)

The name of source file.



40
41
42
# File 'lib/mxx_ru/cpp/toolset.rb', line 40

def source
  @source
end