Create presym files for each build target

Previously, presym files were always created in `build/{presym,presym.inc}`.
However, this constraint is inconvenient because it is common to use
multiple build configurations and build targets in a single mruby tree.
Therefore, change to create presym file for each build target.
This commit is contained in:
KOBAYASHI Shuji
2020-11-26 18:43:40 +09:00
parent 79af3f30b4
commit 58ba883ee9
6 changed files with 154 additions and 149 deletions
+8
View File
@@ -373,6 +373,14 @@ EOS
def libraries
[libmruby_static]
end
def presym_file
"#{build_dir}/presym"
end
def presym_inc
"#{build_dir}/include/mruby/presym.inc"
end
end # Build
class CrossBuild < Build