Sha256: e19d971164dab4970b4272ecfd97a2df388bfef2abf23dc381302e624c8c2fb3

Contents?: true

Size: 415 Bytes

Versions: 19

Compression:

Stored size: 415 Bytes

Contents

module Xcake
  class TargetDependencyGenerator < Generator
    def self.dependencies
      [TargetGenerator, TargetLinkGenerator]
    end

    def visit_target(target)
      native_target = @context.native_object_for(target)
      target.target_dependencies.map do |dep|
        native_dependency = @context.native_object_for(dep)
        native_target.add_dependency(native_dependency)
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
xcake-0.13.0 lib/xcake/generator/target_dependency_generator.rb
xcake-0.12.1 lib/xcake/generator/target_dependency_generator.rb
xcake-0.12.0 lib/xcake/generator/target_dependency_generator.rb
xcake-0.11.0 lib/xcake/generator/target_dependency_generator.rb
xcake-0.10.0 lib/xcake/generator/target_dependency_generator.rb
xcake-0.9.4 lib/xcake/generator/target_dependency_generator.rb
xcake-0.9.3 lib/xcake/generator/target_dependency_generator.rb
xcake-0.9.2 lib/xcake/generator/target_dependency_generator.rb
xcake-0.9.1 lib/xcake/generator/target_dependency_generator.rb
xcake-0.9.0 lib/xcake/generator/target_dependency_generator.rb
xcake-0.8.13 lib/xcake/generator/target_dependency_generator.rb
xcake-0.8.12 lib/xcake/generator/target_dependency_generator.rb
xcake-0.8.10 lib/xcake/generator/target_dependency_generator.rb
xcake-0.8.9 lib/xcake/generator/target_dependency_generator.rb
xcake-0.8.8 lib/xcake/generator/target_dependency_generator.rb
xcake-0.8.7 lib/xcake/generator/target_dependency_generator.rb
xcake-0.8.6 lib/xcake/generator/target_dependency_generator.rb
xcake-0.8.3 lib/xcake/generator/target_dependency_generator.rb
xcake-0.8.1 lib/xcake/generator/target_dependency_generator.rb