You've likely heard about mruby (an Ruby targeted for embedded use) and may even have toyed with building it yourself using one of our DevKit's.
But I believe mruby needs a more flexible and maintainable build infrastructure that enables developers using different platforms to quickly start playing with the code rather than tweaking Makefiles. One way to do that is to that is to leverage the multi-platform CMake build infrastructure rather than static Makefiles.
With some help from a couple of other interested souls, I've hacked up a CMake prototype for mruby.
http://jonforums.github.com/ruby/2012/05/09/cmake-prototype-for-mruby.html
You've likely heard about mruby (an Ruby targeted for embedded use) and may even have toyed with building it yourself using one of our DevKit's.
But I believe mruby needs a more flexible and maintainable build infrastructure that enables developers using different platforms to quickly start playing with the code rather than tweaking Makefiles. One way to do that is to that is to leverage the multi-platform CMake build infrastructure rather than static Makefiles.
With some help from a couple of other interested souls, I've hacked up a CMake prototype for mruby.
http://jonforums.github.com/ruby/2012/05/09/cmake-prototype-for-mruby.htmlmruby now builds on Windows using our DevKit, or nmake makefiles, or Visual Studio 10 IDE (and probably others) thanks to the cmake prototype.I'm looking for a few adventurous souls to hammer on the cmake proto in preparation for submitting a pull request to the official mruby repo.Info to get started at
> mruby now builds on Windows using our DevKit, or nmake makefiles, or Visual
> Studio 10 IDE (and probably others) thanks to the cmake prototype.
>
> I'm looking for a few adventurous souls to hammer on the cmake proto in
> preparation for submitting a pull request to the official mruby repo.
>
> https://github.com/mruby/mruby/issues/81#issuecomment-5791331
>
> Info to get started at
>
> http://jonforums.github.com/ruby/2012/05/09/cmake-prototype-for-mruby.html
> http://jonforums.github.com/ruby/2012/05/09/cmake-prototype-for-mruby.html
>
>
Nice stuff Jon!
I just tested cmake from inside build directory and failed:
https://gist.github.com/2730963
Tried from the root of the repository without success.
Platform: OSX (Snow Leopard), GCC 4.6.3 (MacPorts)
On Sat, May 19, 2012 at 9:01 PM, Jon <jon.f...@gmail.com> wrote:
>
> [...]
>
> still broken?
>
Didn't had time to check again. Will do on monday.
On Sun, May 20, 2012 at 10:39 PM, Jon <jon.f...@gmail.com> wrote:
>
> I can repro on Win7 32bit using CMake
> 2.8.6 https://github.com/thecodeshop/mruby/issues/22#issuecomment-5814110
>
> Try updating to latest of
>
> https://trac.macports.org/browser/trunk/dports/devel/cmake/Portfile
> https://github.com/thecodeshop/mruby/tree/jonforums-mods/cmake
>
Works like a charm, thank you.
> and see if it works. Please close the GH issue if it does.
>
Closed!
Awesome work Jon and TheCodeShop team!