lib/dev/BoostBuild.rb in dev-1.0.106 vs lib/dev/BoostBuild.rb in dev-1.0.107
- old
+ new
@@ -1,8 +1,10 @@
module Dev
class BoostBuild
def self.defaultToolset
- text=`b2 --debug-configuration`
+ status,text,stderr=systemu("b2 --debug-configuration")
+ #return "msvc-11.0" if status != 0
+ #text=`b2 --debug-configuration`
toolset=''
text.scan(/<toolset>([\.\w-]+)/).each{ | var_match |
toolset=var_match[0].to_s
}
return toolset
\ No newline at end of file