dev 1.0.125 → 1.0.126
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dev/BoostBuild.rb +10 -6
- metadata +1 -1
data/lib/dev/BoostBuild.rb
CHANGED
@@ -1,12 +1,16 @@
|
|
1
1
|
module Dev
|
2
2
|
class BoostBuild
|
3
3
|
def self.defaultToolset
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
4
|
+
begin
|
5
|
+
text=`b2 --debug-configuration`
|
6
|
+
toolset=''
|
7
|
+
text.scan(/<toolset>([\.\w-]+)/).each{ | var_match |
|
8
|
+
toolset=var_match[0].to_s
|
9
|
+
}
|
10
|
+
return toolset
|
11
|
+
rescue
|
12
|
+
return nil
|
13
|
+
end
|
10
14
|
end
|
11
15
|
|
12
16
|
def self.getLibraryProperties(filename)
|