Class: MxxRu::Cpp::DllInfo

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

Overview

Class, describing a shared library.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from TargetWithFullPath

#full_name

Constructor Details

#initialize(a_dll_file_name, a_dll_path, a_link_name, a_link_path) ⇒ DllInfo

Returns a new instance of DllInfo.



141
142
143
144
145
146
147
148
149
150
151
152
153
# File 'lib/mxx_ru/cpp/toolset.rb', line 141

def initialize(
    a_dll_file_name,
    a_dll_path,
    a_link_name,
    a_link_path )

  super( a_dll_file_name, a_dll_path )

  @dll_file_name = a_dll_file_name
  @dll_path = a_dll_path
  @link_name = a_link_name
  @link_path = a_link_path
end

Instance Attribute Details

#dll_file_nameObject (readonly)

File name of dll file without a folder.



131
132
133
# File 'lib/mxx_ru/cpp/toolset.rb', line 131

def dll_file_name
  @dll_file_name
end

#dll_pathObject (readonly)

Folder where dll file should be.



133
134
135
# File 'lib/mxx_ru/cpp/toolset.rb', line 133

def dll_path
  @dll_path
end

The name should be passed to the linker. (import library name) It may be nil if inport library isn’t used.



136
137
138
# File 'lib/mxx_ru/cpp/toolset.rb', line 136

def link_name
  @link_name
end

The folder name, where linker should look for import library. It may be nil if inport library isn’t used.



139
140
141
# File 'lib/mxx_ru/cpp/toolset.rb', line 139

def link_path
  @link_path
end