class MxxRu::Cpp::CompositeTarget
Composition of subprojects target
Public Class Methods
new( a_alias, &block )
click to toggle source
Calls superclass method
# File lib/mxx_ru/cpp/composite.rb, line 49 def initialize( a_alias, &block ) super( a_alias ) instance_eval( &block ) if block end
Public Instance Methods
build()
click to toggle source
# File lib/mxx_ru/cpp/composite.rb, line 59 def build if nil == @mxx_last_build_result check_all_options_definition @mxx_last_build_result = build_required_projects end return @mxx_last_build_result end
clean()
click to toggle source
# File lib/mxx_ru/cpp/composite.rb, line 71 def clean if nil == @mxx_last_build_result check_all_options_definition clean_required_prjs @mxx_last_build_result = MxxRu::TargetState.new( MxxRu::TargetState::ABSENT ) end end
reset()
click to toggle source
# File lib/mxx_ru/cpp/composite.rb, line 83 def reset reset_required_projects @mxx_last_build_result = nil end
target_type()
click to toggle source
# File lib/mxx_ru/cpp/composite.rb, line 55 def target_type return CompositeTargetType.new end