ulfjack / ryu

Converts floating point numbers to decimal strings
Apache License 2.0
1.2k stars 100 forks source link

Add meson build setup for C libraries #123

Closed Finii closed 5 years ago

Finii commented 5 years ago

This adds the possibility to build Ryu with meson.

The tests are included too. And a small example as a quick how-to-use.

(Just because I saw that Makefile-PR and we added meson support quite some time ago already ;)

ulfjack commented 5 years ago

I'm very sorry, but I won't be able to merge this. Having support for two build systems is already a stretch, but at least I'm fairly familiar with make.

I'm hoping that the code here will be upstreamed to various libc / STL implementations and people migrate to using charconv, which will reduce direct use of this code.

Finii commented 5 years ago

All good :-)

It was just... to have a counter example how PR for a build system should at least like like imho. Including all platforms, including tests... ;->

And of course you are right, 2 build systems is already quite some burdon; the one that is less used gets out of sync so very quickly. Especially if it's a all-manual-labor like plain make.

Thank you for the reply :+1: