Class: Xcake::TargetFrameworkGenerator
- Inherits:
-
Generator
- Object
- Generator
- Xcake::TargetFrameworkGenerator
show all
- Defined in:
- lib/xcake/generator/target_framework_generator.rb
Instance Attribute Summary
Attributes inherited from Generator
#context
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Generator
#initialize, plugins_location
#descendants
Methods included from Visitor
#item_name, #leave, #visit
Methods included from Plugin
included
Methods included from Dependency
included
Instance Method Details
#visit_target(target) ⇒ Object
7
8
9
10
11
12
13
14
15
16
|
# File 'lib/xcake/generator/target_framework_generator.rb', line 7
def visit_target(target)
return if target.system_frameworks.nil?
EventHooks.run_hook :before_adding_system_framework, target
native_target = @context.native_object_for(target)
system_frameworks = target.system_frameworks
native_target.add_system_frameworks(system_frameworks)
end
|