Sha256: eb1ba39793a6a8f55b3996ae7ca3a2fbf473ee70302481406c04edf0754e1c4e
Contents?: true
Size: 1.1 KB
Versions: 1
Compression:
Stored size: 1.1 KB
Contents
require 'xcodeproj' module Xcake # This generator processes the configuraions # and creates xcode build configurations. # class ConfigurationGenerator < Generator def self.dependencies [TargetGenerator, ProjectStructureGenerator] end def visit_project(project) create_build_configurations_for(project) end def visit_target(target) create_build_configurations_for(target) end def create_build_configurations_for(configuration_object) puts "Creating build configurations for #{configuration_object}..." configuration_object.flatten_configurations.each do |configuration| puts "Creating build configuration #{configuration.name} for #{configuration_object}..." build_configuration = @context.native_object_for(configuration) build_configuration.name = configuration.name build_configuration.build_settings = configuration.settings native_configuration_object = @context.native_object_for(configuration_object) native_configuration_object.build_configurations << build_configuration end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xcake-0.6.2 | lib/xcake/generator/configuration_generator.rb |