Sha256: 96c11d80e5caa426611f7fa714d15bd09758a292c3c0e738bffff027bc0a1cc6

Contents?: true

Size: 854 Bytes

Versions: 5

Compression:

Stored size: 854 Bytes

Contents

require 'blocks/compile'

module Bake
  
  module Blocks
    
    class Convert < Compile
      
      def initialize(block, config, referencedConfigs, tcs)
        super(block, config, referencedConfigs, tcs)
      end
   
      def execute
        Dir.chdir(@projectDir) do
          calcSources
                
          puts "START_INFO"
          puts " BAKE_SOURCES"
          @source_files.each { |s| puts "  #{s}" }
          puts " BAKE_INCLUDES"
          @include_list.each { |s| puts "  #{s}" }
          puts " BAKE_DEFINES"
          (@tcs[:COMPILER][:CPP][:DEFINES] + @tcs[:COMPILER][:C][:DEFINES] + @tcs[:COMPILER][:ASM][:DEFINES]).uniq.each { |s| puts "  #{s}" }
          puts "END_INFO"
        end
      end
      
      def clean
        # nothing to do here
      end
      
    end
    
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bake-toolkit-2.10.1 lib/blocks/convert.rb
bake-toolkit-2.10.0 lib/blocks/convert.rb
bake-toolkit-2.9.2 lib/blocks/convert.rb
bake-toolkit-2.9.1 lib/blocks/convert.rb
bake-toolkit-2.9.0 lib/blocks/convert.rb