Last change
on this file since 322 was 321, checked in by coas-nagasima, 7 years ago |
文字コードを設定
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-ruby;charset=UTF-8
|
File size:
1.0 KB
|
Line | |
---|
1 | MRuby::Build.new('debug') do |conf|
|
---|
2 | toolchain :gcc
|
---|
3 | enable_debug
|
---|
4 |
|
---|
5 | # include all core GEMs
|
---|
6 | conf.gembox 'full-core'
|
---|
7 | conf.cc.flags += %w(-Werror=declaration-after-statement)
|
---|
8 | conf.compilers.each do |c|
|
---|
9 | c.defines += %w(MRB_GC_STRESS MRB_GC_FIXED_ARENA)
|
---|
10 | end
|
---|
11 |
|
---|
12 | build_mrbc_exec
|
---|
13 | end
|
---|
14 |
|
---|
15 | MRuby::Build.new('full-debug') do |conf|
|
---|
16 | toolchain :gcc
|
---|
17 | enable_debug
|
---|
18 |
|
---|
19 | # include all core GEMs
|
---|
20 | conf.gembox 'full-core'
|
---|
21 | conf.cc.defines = %w(MRB_ENABLE_DEBUG_HOOK)
|
---|
22 |
|
---|
23 | conf.enable_test
|
---|
24 | end
|
---|
25 |
|
---|
26 | MRuby::Build.new do |conf|
|
---|
27 | toolchain :gcc
|
---|
28 |
|
---|
29 | # include all core GEMs
|
---|
30 | conf.gembox 'full-core'
|
---|
31 | conf.cc.flags += %w(-Werror=declaration-after-statement)
|
---|
32 | conf.compilers.each do |c|
|
---|
33 | c.defines += %w(MRB_GC_FIXED_ARENA)
|
---|
34 | end
|
---|
35 | conf.enable_bintest
|
---|
36 | conf.enable_test
|
---|
37 | end
|
---|
38 |
|
---|
39 | MRuby::Build.new('cxx_abi') do |conf|
|
---|
40 | toolchain :gcc
|
---|
41 |
|
---|
42 | conf.gembox 'full-core'
|
---|
43 | conf.cc.flags += %w(-Werror=declaration-after-statement)
|
---|
44 | conf.compilers.each do |c|
|
---|
45 | c.defines += %w(MRB_GC_FIXED_ARENA)
|
---|
46 | end
|
---|
47 | conf.enable_bintest
|
---|
48 | conf.enable_test
|
---|
49 |
|
---|
50 | enable_cxx_abi
|
---|
51 |
|
---|
52 | build_mrbc_exec
|
---|
53 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.