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 +4 -4
- data/lib/bake/subst.rb +6 -6
- data/lib/blocks/compile.rb +10 -3
- data/lib/common/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b7fa8143ad49a8cb845af085d37e5fb14ccf3f7
|
4
|
+
data.tar.gz: dbf429238de867220b36b92cc41793e3c0996f6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 151206f287292a5c8504c084be6caece3a1461e3bf60b1d72e976077e973540a71499b8917241f874796ac0b64d8b14fd9572995900abbda5f98683ee030e048
|
7
|
+
data.tar.gz: 3537c16697819434b639ee6f91d2be6b822cde2ce2a422e88c58a0034571f6ed990f116a08bfc640443f97692f4d34552c8f713c292d4b485dfa60368cb49392
|
data/lib/bake/subst.rb
CHANGED
@@ -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.
|
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.
|
259
|
+
self.lazyPaths
|
260
260
|
substStr << @@cppExe
|
261
261
|
elsif var == "CPath"
|
262
|
-
self.
|
262
|
+
self.lazyPaths
|
263
263
|
substStr << @@cExe
|
264
264
|
elsif var == "ASMPath"
|
265
|
-
self.
|
265
|
+
self.lazyPaths
|
266
266
|
substStr << @@asmExe
|
267
267
|
elsif var == "ArchiverPath"
|
268
|
-
self.
|
268
|
+
self.lazyPaths
|
269
269
|
substStr << @@archiverExe
|
270
270
|
elsif var == "LinkerPath"
|
271
|
-
self.
|
271
|
+
self.lazyPaths
|
272
272
|
substStr << @@linkerExe
|
273
273
|
elsif var == "Roots"
|
274
274
|
substStr << "___ROOTS___"
|
data/lib/blocks/compile.rb
CHANGED
@@ -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
|
-
|
38
|
-
|
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
|
|
data/lib/common/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rtext
|