Last change
on this file since 439 was 439, checked in by coas-nagasima, 4 years ago |
mrubyを2.1.1に更新
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-ruby
|
File size:
499 bytes
|
Line | |
---|
1 | MRuby::Build.new do |conf|
|
---|
2 |
|
---|
3 | # Gets set by the VS command prompts.
|
---|
4 | if ENV['VisualStudioVersion'] || ENV['VSINSTALLDIR']
|
---|
5 | toolchain :visualcpp
|
---|
6 | else
|
---|
7 | toolchain :gcc
|
---|
8 | end
|
---|
9 |
|
---|
10 | enable_debug
|
---|
11 |
|
---|
12 | # include the default GEMs
|
---|
13 | conf.gembox 'default'
|
---|
14 | end
|
---|
15 |
|
---|
16 | # Requires Android NDK r13 or later.
|
---|
17 | MRuby::CrossBuild.new('android-armeabi') do |conf|
|
---|
18 | params = {
|
---|
19 | :arch => 'armeabi',
|
---|
20 | :platform => 'android-24',
|
---|
21 | :toolchain => :clang,
|
---|
22 | }
|
---|
23 | toolchain :android, params
|
---|
24 |
|
---|
25 | conf.gembox 'default'
|
---|
26 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.