Sha256: ed3ff75edadabd84fd80ea02cc786c684a7ce2dd2db2cb0cdc24c73bbd1f52da

Contents?: true

Size: 414 Bytes

Versions: 15

Compression:

Stored size: 414 Bytes

Contents

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

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

      native_target = @context.native_object_for(target)
      if target.system_libraries
        native_target.add_system_libraries(target.system_libraries)
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
xcake-0.6.19 lib/xcake/generator/target_library_generator.rb
xcake-0.6.18 lib/xcake/generator/target_library_generator.rb
xcake-0.6.17 lib/xcake/generator/target_library_generator.rb
xcake-0.6.16 lib/xcake/generator/target_library_generator.rb
xcake-0.6.14 lib/xcake/generator/target_library_generator.rb
xcake-0.6.13 lib/xcake/generator/target_library_generator.rb
xcake-0.6.12 lib/xcake/generator/target_library_generator.rb
xcake-0.6.11 lib/xcake/generator/target_library_generator.rb
xcake-0.6.10 lib/xcake/generator/target_library_generator.rb
xcake-0.6.9 lib/xcake/generator/target_library_generator.rb
xcake-0.6.8 lib/xcake/generator/target_library_generator.rb
xcake-0.6.7 lib/xcake/generator/target_library_generator.rb
xcake-0.6.6 lib/xcake/generator/target_library_generator.rb
xcake-0.6.5 lib/xcake/generator/target_library_generator.rb
xcake-0.6.4 lib/xcake/generator/target_library_generator.rb