Automatically detect toolchain if it is visualcpp, and hence we drop vs2010.rake altogether - it’s no longer needed.

This commit is contained in:
Per Lundberg
2013-11-22 22:17:01 +02:00
parent 07b8a5b042
commit 172cd281ba
3 changed files with 8 additions and 5 deletions
@@ -1,4 +1,4 @@
MRuby::Toolchain.new(:vs2012) do |conf|
MRuby::Toolchain.new(:visualcpp) do |conf|
[conf.cc, conf.cxx].each do |cc|
cc.command = ENV['CC'] || 'cl.exe'
cc.flags = [ENV['CFLAGS'] || %w(/c /nologo /W3 /D_DEBUG /MDd /Zi /Od /RTC1 /DHAVE_STRING_H /DNO_GETTIMEOFDAY /D_CRT_SECURE_NO_WARNINGS)]
-3
View File
@@ -1,3 +0,0 @@
MRuby::Toolchain.new(:vs2010) do |conf|
toolchain :vs2012
end