summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-cmath/mrbgem.rake
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-02-05 22:27:27 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-02-05 22:27:27 +0900
commita0050541d1a4743721f805a71abfd9c898877fc7 (patch)
treee2b244d86718e0608675619c12caa091b99fc2d7 /mrbgems/mruby-cmath/mrbgem.rake
parentd898002096ca20471a657a69ca25aec5e25cf6f0 (diff)
downloadmruby-a0050541d1a4743721f805a71abfd9c898877fc7.tar.gz
mruby-a0050541d1a4743721f805a71abfd9c898877fc7.zip
Add `mruby-cmath` gem to the core.
This gem uses C99 `_Complex` features. You need a C compiler that supports `_Complex` to enable this gem. All `gcc`, `clang`, `VC` support `_Complex` so there should not be a big problem.
Diffstat (limited to 'mrbgems/mruby-cmath/mrbgem.rake')
-rw-r--r--mrbgems/mruby-cmath/mrbgem.rake8
1 files changed, 8 insertions, 0 deletions
diff --git a/mrbgems/mruby-cmath/mrbgem.rake b/mrbgems/mruby-cmath/mrbgem.rake
new file mode 100644
index 000000000..e00725fef
--- /dev/null
+++ b/mrbgems/mruby-cmath/mrbgem.rake
@@ -0,0 +1,8 @@
+# This `mruby-cmath` gem uses C99 _Complex features
+# You need C compler that support C99+
+MRuby::Gem::Specification.new('mruby-cmath') do |spec|
+ spec.license = 'MIT'
+ spec.author = 'mruby developers'
+ spec.summary = 'standard Math module with complex'
+ spec.add_dependency 'mruby-complex'
+end