summaryrefslogtreecommitdiffhomepage
path: root/appveyor_config.rb
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-05-01 07:40:38 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 16:20:47 +0900
commitfdbfeaf533fd75143f5d3af3ec6c585b9da746c4 (patch)
tree49ec92b8bc96f33c45630c4f11b5020e3e66b23a /appveyor_config.rb
parentea31878b1f135ae570c3923bfd4817f467725f84 (diff)
downloadmruby-fdbfeaf533fd75143f5d3af3ec6c585b9da746c4.tar.gz
mruby-fdbfeaf533fd75143f5d3af3ec6c585b9da746c4.zip
Build process updated:
You have to specify `TARGET` to specify a configuration, e.g. ``` rake TARGET=host-debug all test ``` When you port `mruby` to a new configuration: 1. copy an existing configuration under `target` directory 2. modify the new configuration file 3. build using the new configuration 4. send PR if you please
Diffstat (limited to 'appveyor_config.rb')
-rw-r--r--appveyor_config.rb46
1 files changed, 0 insertions, 46 deletions
diff --git a/appveyor_config.rb b/appveyor_config.rb
deleted file mode 100644
index 25745daa8..000000000
--- a/appveyor_config.rb
+++ /dev/null
@@ -1,46 +0,0 @@
-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