doc/guides/mrbconf.md: update description for the configuration file.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2022-10-10 22:28:51 +09:00
parent e19d55dbdd
commit 83fc75f399
+9 -2
View File
@@ -1,8 +1,15 @@
# mruby configuration macros
## How to use these macros
## The configuration file
You can do the build configuration in the `build_config` file。
You can do the build configuration in the build configuration file. The default
configuration file is `build_config/default.rb`.
You can specify your own configuration file by the `MRUBY_CONFIG` environment
variable (you can use `CONFIG` for shorthand for `MRUBY_CONFIG`). If the path
doesn't exist, `build_config/${MRUBY_CONFIG}.rb` is used.
## How to use these macros
Just add the configuration value to the `MRuby::Build#defines` attribute.
This is the same for `MRuby::CrossBuild`.