Changeset 299


Ignore:
Timestamp:
Jun 14, 2017, 9:11:26 PM (7 years ago)
Author:
coas-nagasima
Message:

mrubyの2回目のビルドがクリーンを行わないとエラーになってしまうのを修正

Location:
EcnlProtoTool/trunk/mruby-1.2.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/mruby-1.2.0/minirake

    r270 r299  
    141141      def [](task_name)
    142142        task_name = task_name.to_s
     143        if task_name.end_with?(":")
     144          task_name = task_name.slice(0, task_name.length - 1)
     145        end
    143146        if task = TASKS[task_name]
    144147          return task
  • EcnlProtoTool/trunk/mruby-1.2.0/tasks/toolchains/visualcpp.rake

    r281 r299  
    22  conf.cc do |cc|
    33    cc.command = ENV['CC'] || 'cl.exe'
    4     cc.flags = [ENV['CFLAGS'] || %w(/c /nologo /W4 /GS /analyze- /Zc:wchar_t /ZI /Gm /Od /Zc:inline /fp:precise /errorReport:prompt /WX- /Zc:forScope /RTC1 /Gd /Oy- /MDd /EHsc /DWIN32 /D_DEBUG /D_CONSOLE /D_CRT_SECURE_NO_WARNINGS)]
     4    cc.flags = [ENV['CFLAGS'] || %w(/c /nologo /utf-8 /W4 /GS /analyze- /Zc:wchar_t /ZI /Gm /Od /Zc:inline /fp:precise /errorReport:prompt /WX- /Zc:forScope /RTC1 /Gd /Oy- /MDd /EHsc /DWIN32 /D_DEBUG /D_CONSOLE /D_CRT_SECURE_NO_WARNINGS)]
    55    cc.flags << %w(/we4002 /we4003 /we4005 /we4007 /we4010 /we4013 /we4015 /we4020 /we4022 /we4024 /we4028 /we4029 /we4031 /we4033 /we4034 /we4042 /we4047 /we4048 /we4049 /we4056 /we4067 /we4074 /we4079 /we4083 /we4088 /we4089 /we4090 /we4091 /we4094 /we4096 /we4098 /we4099 /we4113 /we4133 /we4715 /we4716)
    66    cc.flags << %w(/wd4214 /wd4100 /wd4996)
     
    1515  conf.cxx do |cxx|
    1616    cxx.command = ENV['CXX'] || 'cl.exe'
    17     cxx.flags = [ENV['CXXFLAGS'] || ENV['CFLAGS'] || %w(/c /nologo /W4 /GS /analyze- /Zc:wchar_t /ZI /Gm /Od /Zc:inline /fp:precise /errorReport:prompt /WX- /Zc:forScope /RTC1 /Gd /Oy- /MDd /EHsc /DWIN32 /D_DEBUG /D_CONSOLE /D_CRT_SECURE_NO_WARNINGS)]
     17    cxx.flags = [ENV['CXXFLAGS'] || ENV['CFLAGS'] || %w(/c /utf-8 /nologo /W4 /GS /analyze- /Zc:wchar_t /ZI /Gm /Od /Zc:inline /fp:precise /errorReport:prompt /WX- /Zc:forScope /RTC1 /Gd /Oy- /MDd /EHsc /DWIN32 /D_DEBUG /D_CONSOLE /D_CRT_SECURE_NO_WARNINGS)]
    1818    cxx.flags << %w(/we4002 /we4003 /we4005 /we4007 /we4010 /we4013 /we4015 /we4020 /we4022 /we4024 /we4028 /we4029 /we4031 /we4033 /we4034 /we4042 /we4047 /we4048 /we4049 /we4056 /we4067 /we4074 /we4079 /we4083 /we4088 /we4089 /we4090 /we4091 /we4094 /we4096 /we4098 /we4099 /we4113 /we4133 /we4715 /we4716)
    1919    cxx.flags << %w(/wd4214 /wd4100 /wd4996)
Note: See TracChangeset for help on using the changeset viewer.