Class: MxxRu::Cpp::DllTarget

Inherits:
LibOrDllTarget show all
Defined in:
lib/mxx_ru/cpp/target.rb

Overview

Dll is a target type.

Constant Summary

Constants inherited from LibOrDllTarget

LibOrDllTarget::Type_already_defined_ex, LibOrDllTarget::Type_not_defined_ex

Constants inherited from Target

Target::Global_obj_placement_info, Target::OPT_LOCAL, Target::OPT_UPSPREAD

Instance Attribute Summary

Attributes inherited from Target

#mxx_c_files, #mxx_cpp_files, #mxx_encoding, #mxx_implib_path, #mxx_mswin_rc_file, #mxx_mswin_res_file, #mxx_obj_files, #mxx_optimization, #mxx_screen_mode, #mxx_sources_root, #mxx_target_ext, #mxx_target_name, #mxx_target_prefix, #mxx_target_root, #vc8_actual_manifest

Attributes inherited from AbstractTarget

#mxx_full_targets_names, #mxx_generators, #mxx_required_prjs

Instance Method Summary collapse

Methods inherited from LibOrDllTarget

#as_dll, #as_lib, #as_macos_bundle, #target_type

Methods inherited from Target

#build, #c_source, #clean, #cpp_source, #create_full_result_target_file_name, #create_full_src_file_name, #create_full_target_file_name, define_spreadable_option_methods, #global_obj_placement, global_option_methods, #implib_path, initialize_spreadable_option_instance_variables, #mswin_rc_file, #mswin_res_file, #mxx_obj_placement, #mxx_runtime_mode, #obj_file, #obj_placement, #optimization, #reset, #screen_mode, #source_encoding, #sources_root, #target, #target_ext, #target_prefix, #target_root, #target_type, #toolset, #vc8_source_manifest, #vc8_source_manifest=

Methods inherited from BinaryTarget

check_libraries_types, #lib, #lib_shared, #lib_static, #mxx_add_required_lib, #mxx_add_required_lib_path, #mxx_required_lib_paths, #mxx_required_libs

Methods inherited from AbstractTarget

#build, #clean, define_plural_form_method, #generator, #mxx_add_full_target_name, #prj_alias, #required_prj, #reset, run

Constructor Details

#initialize(a_prj_alias, &block) ⇒ DllTarget

Returns a new instance of DllTarget.



1500
1501
1502
1503
1504
1505
1506
# File 'lib/mxx_ru/cpp/target.rb', line 1500

def initialize( a_prj_alias, &block )
  super( a_prj_alias, a_prj_alias )

  as_dll

  instance_eval( &block ) if block
end