Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add new two build config files.
- Loading branch information
1 parent
a6b1e96
commit 5395dbfb3a1f424c6adc37b7d73d9def37e9e227
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,26 @@ | ||
MRuby::Build.new do |conf| | ||
|
||
# Gets set by the VS command prompts. | ||
if ENV['VisualStudioVersion'] || ENV['VSINSTALLDIR'] | ||
toolchain :visualcpp | ||
else | ||
toolchain :gcc | ||
end | ||
|
||
enable_debug | ||
|
||
# include the default GEMs | ||
conf.gembox 'default' | ||
end | ||
|
||
# Requires Android NDK r13 or later. | ||
MRuby::CrossBuild.new('android-arm64-v8a') do |conf| | ||
params = { | ||
:arch => 'arm64-v8a', | ||
:platform => 'android-24', | ||
:toolchain => :clang, | ||
} | ||
toolchain :android, params | ||
|
||
conf.gembox 'default' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,26 @@ | ||
MRuby::Build.new do |conf| | ||
|
||
# Gets set by the VS command prompts. | ||
if ENV['VisualStudioVersion'] || ENV['VSINSTALLDIR'] | ||
toolchain :visualcpp | ||
else | ||
toolchain :gcc | ||
end | ||
|
||
enable_debug | ||
|
||
# include the default GEMs | ||
conf.gembox 'default' | ||
end | ||
|
||
# Requires Android NDK r13 or later. | ||
MRuby::CrossBuild.new('android-armeabi') do |conf| | ||
params = { | ||
:arch => 'armeabi', | ||
:platform => 'android-24', | ||
:toolchain => :clang, | ||
} | ||
toolchain :android, params | ||
|
||
conf.gembox 'default' | ||
end |