Sha256: 1cab469880d551837a776ff7af25b306e01c4f562ccf445376369c927f1e54b3

Contents?: true

Size: 440 Bytes

Versions: 1

Compression:

Stored size: 440 Bytes

Contents

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

    def visit_target(target)
      puts "Integrating System Frameworks for #{target}..."

      native_target = @context.native_object_for(target)

      system_frameworks = target.system_frameworks
      native_target.add_system_frameworks(system_frameworks) if system_frameworks
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xcake-0.6.20 lib/xcake/generator/target_framework_generator.rb