Class: MxxRu::Cpp::DllInfo
- Inherits:
-
TargetWithFullPath
- Object
- TargetWithFullPath
- MxxRu::Cpp::DllInfo
- Defined in:
- lib/mxx_ru/cpp/toolset.rb
Overview
Class, describing a shared library.
Instance Attribute Summary collapse
-
#dll_file_name ⇒ Object
readonly
File name of dll file without a folder.
-
#dll_path ⇒ Object
readonly
Folder where dll file should be.
-
#link_name ⇒ Object
readonly
The name should be passed to the linker.
-
#link_path ⇒ Object
readonly
The folder name, where linker should look for import library.
Instance Method Summary collapse
-
#initialize(a_dll_file_name, a_dll_path, a_link_name, a_link_path) ⇒ DllInfo
constructor
A new instance of DllInfo.
Methods inherited from TargetWithFullPath
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_name ⇒ Object (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_path ⇒ Object (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 |
#link_name ⇒ Object (readonly)
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 |
#link_path ⇒ Object (readonly)
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 |