Sha256: 64d4b20246c679d89144d32b8875f3271e284ff989dc9d5b042b060a041db5b4
Contents?: true
Size: 1.28 KB
Versions: 33
Compression:
Stored size: 1.28 KB
Contents
require_relative 'compile' module Bake module Blocks class Convert < Compile def initialize(block, config, referencedConfigs) super(block, config, referencedConfigs) end def execute Dir.chdir(@projectDir) do calcIncludes calcDefines calcFlags calcSources puts "START_INFO" puts " BAKE_PROJECTDIR" puts " #{File.expand_path(@projectDir)}" puts " BAKE_SOURCES" @source_files.each { |s| puts " #{s}" } puts " BAKE_INCLUDES" @include_list.each { |s| puts " #{s}" } puts " BAKE_DEFINES" (@block.tcs[:COMPILER][:CPP][:DEFINES] + @block.tcs[:COMPILER][:C][:DEFINES] + @block.tcs[:COMPILER][:ASM][:DEFINES]).uniq.each { |s| puts " #{s}" } puts " BAKE_DEPENDENCIES" @block.dependencies.each { |dep| puts " #{ALL_BLOCKS[dep].qname}" } puts " BAKE_DEPENDENCIES_FILTERED" @block.dependencies.each { |dep| pn = ALL_BLOCKS[dep].projectName; puts " #{ALL_BLOCKS[dep].qname}" unless @projectName == pn || pn == "gmock" || pn == "gtest" } puts "END_INFO" end return true end def clean # nothing to do here return true end end end end
Version data entries
33 entries across 33 versions & 1 rubygems