cxxproject 0.6.23 → 0.6.24
Sign up to get free protection for your applications and to get access to all the features.
@@ -73,7 +73,7 @@ module Cxxproject
|
|
73
73
|
FileUtils.rm(aname) if File.exists?(aname)
|
74
74
|
cmd = [archiver[:COMMAND]] # ar
|
75
75
|
cmd += archiver[:ARCHIVE_FLAGS].split(" ")
|
76
|
-
cmd += archiver[:FLAGS]
|
76
|
+
cmd += archiver[:FLAGS]
|
77
77
|
cmd << aname # -o debug/x.exe
|
78
78
|
cmd += objs
|
79
79
|
|
@@ -15,7 +15,7 @@ module Cxxproject
|
|
15
15
|
:INCLUDE_PATH_FLAG => "",
|
16
16
|
:COMPILE_FLAGS => "",
|
17
17
|
:DEFINES => [],
|
18
|
-
:FLAGS =>
|
18
|
+
:FLAGS => [],
|
19
19
|
:SOURCE_FILE_ENDINGS => [".cxx", ".cpp", ".c++", ".cc", ".C"],
|
20
20
|
:DEP_FLAGS => "",
|
21
21
|
:DEP_FLAGS_SPACE => false,
|
@@ -29,7 +29,7 @@ module Cxxproject
|
|
29
29
|
:INCLUDE_PATH_FLAG => "",
|
30
30
|
:COMPILE_FLAGS => "",
|
31
31
|
:DEFINES => [],
|
32
|
-
:FLAGS =>
|
32
|
+
:FLAGS => [],
|
33
33
|
:SOURCE_FILE_ENDINGS => [".c"],
|
34
34
|
:DEP_FLAGS => "",
|
35
35
|
:DEP_FLAGS_SPACE => false,
|
@@ -43,7 +43,7 @@ module Cxxproject
|
|
43
43
|
:INCLUDE_PATH_FLAG => "",
|
44
44
|
:COMPILE_FLAGS => "",
|
45
45
|
:DEFINES => [],
|
46
|
-
:FLAGS =>
|
46
|
+
:FLAGS => [],
|
47
47
|
:SOURCE_FILE_ENDINGS => [".asm", ".s", ".S"],
|
48
48
|
:DEP_FLAGS => "",
|
49
49
|
:ERROR_PARSER => nil,
|
@@ -55,7 +55,7 @@ module Cxxproject
|
|
55
55
|
{
|
56
56
|
:COMMAND => "",
|
57
57
|
:ARCHIVE_FLAGS => "",
|
58
|
-
:FLAGS =>
|
58
|
+
:FLAGS => [],
|
59
59
|
:ERROR_PARSER => nil
|
60
60
|
},
|
61
61
|
|
@@ -70,7 +70,7 @@ module Cxxproject
|
|
70
70
|
:LIB_PATH_FLAG => "",
|
71
71
|
:LIB_PREFIX_FLAGS => "", # "-Wl,--whole-archive",
|
72
72
|
:LIB_POSTFIX_FLAGS => "", # "-Wl,--no-whole-archive",
|
73
|
-
:FLAGS =>
|
73
|
+
:FLAGS => [],
|
74
74
|
:MAP_FILE_FLAG => "",
|
75
75
|
:OUTPUT_ENDING => ".exe", # or .elf
|
76
76
|
:ERROR_PARSER => nil
|
@@ -84,7 +84,7 @@ module Cxxproject
|
|
84
84
|
:DIR_FLAG => "-C",
|
85
85
|
:CLEAN => "clean"
|
86
86
|
},
|
87
|
-
|
87
|
+
|
88
88
|
:CONSOLE_HIGHLIGHTER => ColorizingFormatter.new
|
89
89
|
}
|
90
90
|
|
@@ -127,14 +127,14 @@ module Cxxproject
|
|
127
127
|
end
|
128
128
|
|
129
129
|
def self.[](name)
|
130
|
-
|
130
|
+
|
131
131
|
if name == "TI"
|
132
132
|
if not ENV['TI_HOME']
|
133
133
|
Printer.printError "Error: Please set TI_HOME"
|
134
134
|
ExitHelper.exit(1)
|
135
135
|
end
|
136
136
|
end
|
137
|
-
|
137
|
+
|
138
138
|
return @@settings[name] if @@settings.include? name
|
139
139
|
nil
|
140
140
|
end
|
@@ -147,4 +147,3 @@ module Cxxproject
|
|
147
147
|
|
148
148
|
end
|
149
149
|
end
|
150
|
-
|
data/lib/cxxproject/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cxxproject
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.24
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -218,7 +218,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
218
218
|
version: '0'
|
219
219
|
segments:
|
220
220
|
- 0
|
221
|
-
hash:
|
221
|
+
hash: 2614597037473485341
|
222
222
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
223
223
|
none: false
|
224
224
|
requirements:
|