Sha256: 42e2b6bff9b91ef0c87a57548896d93b8a2126e9f2d2079bf2dae6e28a222ccb

Contents?: true

Size: 486 Bytes

Versions: 16

Compression:

Stored size: 486 Bytes

Contents

module Xcake
  class TargetFrameworkGenerator < Generator
    def self.dependencies
      [TargetGenerator, ConfigurationGenerator]
    end

    def visit_target(target)
      unless 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
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
xcake-0.8.13 lib/xcake/generator/target_framework_generator.rb
xcake-0.8.12 lib/xcake/generator/target_framework_generator.rb
xcake-0.8.10 lib/xcake/generator/target_framework_generator.rb
xcake-0.8.9 lib/xcake/generator/target_framework_generator.rb
xcake-0.8.8 lib/xcake/generator/target_framework_generator.rb
xcake-0.8.7 lib/xcake/generator/target_framework_generator.rb
xcake-0.8.6 lib/xcake/generator/target_framework_generator.rb
xcake-0.8.3 lib/xcake/generator/target_framework_generator.rb
xcake-0.8.1 lib/xcake/generator/target_framework_generator.rb
xcake-0.7.1 lib/xcake/generator/target_framework_generator.rb
xcake-0.7.0 lib/xcake/generator/target_framework_generator.rb
xcake-0.6.25 lib/xcake/generator/target_framework_generator.rb
xcake-0.6.24 lib/xcake/generator/target_framework_generator.rb
xcake-0.6.23 lib/xcake/generator/target_framework_generator.rb
xcake-0.6.22 lib/xcake/generator/target_framework_generator.rb
xcake-0.6.21 lib/xcake/generator/target_framework_generator.rb