Skip to content
Permalink
Browse files
deprecate Visual Studio 2010 and 2012
  • Loading branch information
cremno committed Mar 22, 2016
1 parent 611e99e commit bfc7b2e30fe2d35ffddf56ea7ccff178cc9b7e9b
Showing 1 changed file with 11 additions and 0 deletions.
@@ -50,4 +50,15 @@ MRuby::Toolchain.new(:visualcpp) do |conf, _params|
end

conf.file_separator = '\\'

if require 'open3'
Open3.popen3 conf.cc.command do |_, _, e, _|
if /Version (?<v>\d{2}\.\d{2}\.\d{5})/ =~ e.gets && v.to_i <= 17
m = "# VS2010/2012 support will be dropped after the next release! #"
h = "#" * m.length
puts h, m, h
end
end
end

end

0 comments on commit bfc7b2e

Please sign in to comment.