Sha256: eba9a44f309a3f196f1eb8d39b8ae535203f22182579f6b4f77df625e838f7e3

Contents?: true

Size: 472 Bytes

Versions: 10

Compression:

Stored size: 472 Bytes

Contents

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

    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
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
xcake-0.13.0 lib/xcake/generator/target_framework_generator.rb
xcake-0.12.1 lib/xcake/generator/target_framework_generator.rb
xcake-0.12.0 lib/xcake/generator/target_framework_generator.rb
xcake-0.11.0 lib/xcake/generator/target_framework_generator.rb
xcake-0.10.0 lib/xcake/generator/target_framework_generator.rb
xcake-0.9.4 lib/xcake/generator/target_framework_generator.rb
xcake-0.9.3 lib/xcake/generator/target_framework_generator.rb
xcake-0.9.2 lib/xcake/generator/target_framework_generator.rb
xcake-0.9.1 lib/xcake/generator/target_framework_generator.rb
xcake-0.9.0 lib/xcake/generator/target_framework_generator.rb