bake-toolkit 2.37.12 → 2.37.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02e368849338608317ef87e6ccda02e2e4e54581
4
- data.tar.gz: bb7c2c9c6474f9483206de7fd5fcc5a404ada580
3
+ metadata.gz: 0b7fa8143ad49a8cb845af085d37e5fb14ccf3f7
4
+ data.tar.gz: dbf429238de867220b36b92cc41793e3c0996f6b
5
5
  SHA512:
6
- metadata.gz: 412c9c50f8566011710827f4da28ae8b6121d3869e823929f26432c914e3c558ad3cf0dacd1918e96844d9ab7d0ff2df1ddb49bb99aa9d1aa1c36c2d2e8ed991
7
- data.tar.gz: e0874a70114f208848626ef59ef978398c483fd448ad542c4ed06c40d31c887d4ef592b2ce67accff1bb4832532f0960787187c50bea813c87bdf525b2aaedb9
6
+ metadata.gz: 151206f287292a5c8504c084be6caece3a1461e3bf60b1d72e976077e973540a71499b8917241f874796ac0b64d8b14fd9572995900abbda5f98683ee030e048
7
+ data.tar.gz: 3537c16697819434b639ee6f91d2be6b822cde2ce2a422e88c58a0034571f6ed990f116a08bfc640443f97692f4d34552c8f713c292d4b485dfa60368cb49392
@@ -5,7 +5,7 @@ module Bake
5
5
  class Subst
6
6
 
7
7
  # this is done lazy because usually there is no need to calculate that
8
- def self.lazyPathes
8
+ def self.lazyPaths
9
9
  return unless @@lazy
10
10
 
11
11
  cppCmd = @@toolchain[:COMPILER][:CPP][:COMMAND]
@@ -256,19 +256,19 @@ module Bake
256
256
  elsif var == "ArtifactNameBase"
257
257
  substStr << @@artifactName.chomp(File.extname(@@artifactName))
258
258
  elsif var == "CPPPath"
259
- self.lazyPathes
259
+ self.lazyPaths
260
260
  substStr << @@cppExe
261
261
  elsif var == "CPath"
262
- self.lazyPathes
262
+ self.lazyPaths
263
263
  substStr << @@cExe
264
264
  elsif var == "ASMPath"
265
- self.lazyPathes
265
+ self.lazyPaths
266
266
  substStr << @@asmExe
267
267
  elsif var == "ArchiverPath"
268
- self.lazyPathes
268
+ self.lazyPaths
269
269
  substStr << @@archiverExe
270
270
  elsif var == "LinkerPath"
271
- self.lazyPathes
271
+ self.lazyPaths
272
272
  substStr << @@linkerExe
273
273
  elsif var == "Roots"
274
274
  substStr << "___ROOTS___"
@@ -32,10 +32,17 @@ module Bake
32
32
  end
33
33
 
34
34
  def get_object_file(source)
35
-
36
35
  # until now all OBJECT_FILE_ENDING are equal in all three types
37
- adaptedSource = source.chomp(File.extname(source)).gsub(/\.\./, "##") + (Bake.options.prepro ? ".i" : @block.tcs[:COMPILER][:CPP][:OBJECT_FILE_ENDING])
38
- return adaptedSource if File.is_absolute?source
36
+
37
+ srcWithoutDotDot = source.chomp(File.extname(source)).gsub(/\.\./, "##")
38
+ if srcWithoutDotDot[0] == '/'
39
+ srcWithoutDotDot = "#" + srcWithoutDotDot
40
+ elsif srcWithoutDotDot[1] == ':'
41
+ srcWithoutDotDot = "#" + srcWithoutDotDot[0] + "#" + srcWithoutDotDot[2..-1]
42
+ end
43
+
44
+ adaptedSource = srcWithoutDotDot + (Bake.options.prepro ? ".i" : @block.tcs[:COMPILER][:CPP][:OBJECT_FILE_ENDING])
45
+
39
46
  File.join([@block.output_dir, adaptedSource])
40
47
  end
41
48
 
@@ -1,7 +1,7 @@
1
1
  module Bake
2
2
  class Version
3
3
  def self.number
4
- "2.37.12"
4
+ "2.37.13"
5
5
  end
6
6
 
7
7
  def self.printBakeVersion(ry = "")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bake-toolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.37.12
4
+ version: 2.37.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Schaal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-28 00:00:00.000000000 Z
11
+ date: 2017-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rtext