Sha256: 81f9cd404e4e9ce3464588cce401af2271fb6c84e7599f75881ff5451fa46f8d

Contents?: true

Size: 477 Bytes

Versions: 8

Compression:

Stored size: 477 Bytes

Contents

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

    def visit_target(target)
      unless target.system_libraries.nil?
        EventHooks.run_hook :before_adding_system_library, target

        native_target = @context.native_object_for(target)

        system_libraries = target.system_libraries
        native_target.add_system_libraries(system_libraries)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
xcake-0.8.1 lib/xcake/generator/target_library_generator.rb
xcake-0.7.1 lib/xcake/generator/target_library_generator.rb
xcake-0.7.0 lib/xcake/generator/target_library_generator.rb
xcake-0.6.25 lib/xcake/generator/target_library_generator.rb
xcake-0.6.24 lib/xcake/generator/target_library_generator.rb
xcake-0.6.23 lib/xcake/generator/target_library_generator.rb
xcake-0.6.22 lib/xcake/generator/target_library_generator.rb
xcake-0.6.21 lib/xcake/generator/target_library_generator.rb