Class: MxxRu::Cpp::ObjPlacement
- Inherits:
-
Object
- Object
- MxxRu::Cpp::ObjPlacement
- Defined in:
- lib/mxx_ru/cpp/obj_placement.rb
Overview
Base class for a folder name generator. Results of compilation and linking would be located in that folder.
Direct Known Subclasses
CustomSubdirObjPlacement, PrjAwareRuntimeSubdirObjPlacement, RuntimeSubdirObjPlacement, SourceSubdirObjPlacement
Instance Method Summary collapse
-
#get_dll(source_path_name, toolset, target) ⇒ Object
Method, that returns the name of a folder, shared library file would be located in.
-
#get_exe(source_path_name, toolset, target) ⇒ Object
Method, that returns the name of a folder, executable file would be located in.
-
#get_lib(source_path_name, toolset, target) ⇒ Object
Method, that returns the name of a folder, static library file would be located in.
-
#get_mswin_res(source_path_name, toolset, target) ⇒ Object
Method, that returns the name of a folder, compiled mswin-resource file would be located in.
-
#get_obj(source_path_name, toolset, target) ⇒ Object
Method, that returns the name of a folder, object file would be located in.
Instance Method Details
#get_dll(source_path_name, toolset, target) ⇒ Object
Method, that returns the name of a folder, shared library file would be located in.
- source_path_name
-
Folder name, where source file located is.
- toolset
-
Current toolset.
- target
-
Current target.
88 89 90 91 92 93 94 95 |
# File 'lib/mxx_ru/cpp/obj_placement.rb', line 88 def get_dll( source_path_name, toolset, target ) raise AbstractMethodEx.new( "MxxRu::Cpp::ObjPlacement::get_dll" ) end |
#get_exe(source_path_name, toolset, target) ⇒ Object
Method, that returns the name of a folder, executable file would be located in.
- source_path_name
-
Folder name, where source file located is.
- toolset
-
Current toolset.
- target
-
Current target.
103 104 105 106 107 108 109 110 |
# File 'lib/mxx_ru/cpp/obj_placement.rb', line 103 def get_exe( source_path_name, toolset, target ) raise AbstractMethodEx.new( "MxxRu::Cpp::ObjPlacement::get_exe" ) end |
#get_lib(source_path_name, toolset, target) ⇒ Object
Method, that returns the name of a folder, static library file would be located in.
- source_path_name
-
Folder name, where source file located is.
- toolset
-
Current toolset.
- target
-
Current target.
73 74 75 76 77 78 79 80 |
# File 'lib/mxx_ru/cpp/obj_placement.rb', line 73 def get_lib( source_path_name, toolset, target ) raise AbstractMethodEx.new( "MxxRu::Cpp::ObjPlacement::get_lib" ) end |
#get_mswin_res(source_path_name, toolset, target) ⇒ Object
Method, that returns the name of a folder, compiled mswin-resource file would be located in.
- source_path_name
-
Folder name, where source file located is.
- toolset
-
Current toolset.
- target
-
Current target.
58 59 60 61 62 63 64 65 |
# File 'lib/mxx_ru/cpp/obj_placement.rb', line 58 def get_mswin_res( source_path_name, toolset, target ) raise AbstractMethodEx.new( "MxxRu::Cpp::ObjPlacement::get_mswin_res" ) end |
#get_obj(source_path_name, toolset, target) ⇒ Object
Method, that returns the name of a folder, object file would be located in.
- source_path_name
-
Folder name, where source file located is.
- toolset
-
Current toolset.
- target
-
Current target.
43 44 45 46 47 48 49 50 |
# File 'lib/mxx_ru/cpp/obj_placement.rb', line 43 def get_obj( source_path_name, toolset, target ) raise AbstractMethodEx.new( "MxxRu::Cpp::ObjPlacement::get_obj" ) end |