Sha256: 0a6cc4904269c429a5ae761a22a9f602be93110ae450e27d7c4a002949a66b4c
Contents?: true
Size: 982 Bytes
Versions: 2
Compression:
Stored size: 982 Bytes
Contents
def setup_option(conf) conf.cc.flags[0].delete("/Zi") unless ENV['CFLAGS'] conf.cxx.flags[0].delete("/Zi") unless ENV['CFLAGS'] || ENV['CXXFLAGS'] conf.linker.flags << "/DEBUG:NONE" unless ENV['LDFLAGS'] end MRuby::Build.new('full-debug') do |conf| toolchain :visualcpp enable_debug # include all core GEMs conf.gembox 'full-core' conf.cc.defines += %w(MRB_GC_STRESS MRB_METHOD_CACHE MRB_ENABLE_DEBUG_HOOK) setup_option(conf) conf.enable_test end MRuby::Build.new do |conf| toolchain :visualcpp # include all core GEMs conf.gembox 'full-core' conf.compilers.each do |c| c.defines += %w(MRB_GC_FIXED_ARENA) end setup_option(conf) conf.enable_bintest conf.enable_test end MRuby::Build.new('cxx_abi') do |conf| toolchain :visualcpp conf.gembox 'full-core' conf.compilers.each do |c| c.defines += %w(MRB_GC_FIXED_ARENA) end setup_option(conf) conf.enable_bintest conf.enable_test enable_cxx_abi build_mrbc_exec end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
script_core-0.2.7 | ext/enterprise_script_service/mruby/appveyor_config.rb |
script_core-0.2.6 | ext/enterprise_script_service/mruby/appveyor_config.rb |