FYI: new TCS subproject

20 views
Skip to first unread message

Jon

unread,
May 1, 2012, 11:44:47 AM5/1/12
to theco...@googlegroups.com
Some of you may have noticed that I've cloned mruby into the TheCodeShop garage.

https://github.com/thecodeshop/mruby/tree/cmake

While I originally planned to update the Makefile-based build system to use the much more maintainable and cross-platform friendly CMake build system, I've paused to see how the following discussion unfolds.

https://github.com/mruby/mruby/issues/81

Anyone else interested in (first) making mruby easier to build on multiple platforms? Any real-world feedback on either waf or CMake?

Jon

---
Fail fast. Fail often. Fail publicly. Learn. Adapt. Repeat.
http://thecodeshop.github.com | http://jonforums.github.com/
twitter: @jonforums

Jon

unread,
May 1, 2012, 2:54:40 PM5/1/12
to theco...@googlegroups.com
> Some of you may have noticed that I've cloned mruby into the TheCodeShop garage.
>
> https://github.com/thecodeshop/mruby/tree/cmake

Scratch that, branch deleted...seems beoran is already well out of the starting gate and ready for pull requests ;)

https://github.com/beoran/mruby/tree/cmake

Luis Lavena

unread,
May 2, 2012, 9:24:28 PM5/2/12
to theco...@googlegroups.com
On Tue, May 1, 2012 at 3:54 PM, Jon <jon.f...@gmail.com> wrote:
>> Some of you may have noticed that I've cloned mruby into the TheCodeShop garage.
>>
>>   https://github.com/thecodeshop/mruby/tree/cmake
>
> Scratch that, branch deleted...seems beoran is already well out of the starting gate and ready for pull requests ;)
>
>  https://github.com/beoran/mruby/tree/cmake
>

Hmm, mruby, seems interesting what will show up as "socket" library,
specially considering it should work cross-platform.

There is already some libuv work too:

https://github.com/mattn/mruby-uv

Sorry, couldn't resist :-)
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry

Jon

unread,
May 3, 2012, 9:02:27 AM5/3/12
to theco...@googlegroups.com
> >> Some of you may have noticed that I've cloned mruby into the TheCodeShop garage.
> >>
> >>   https://github.com/thecodeshop/mruby/tree/cmake
> >
> > Scratch that, branch deleted...seems beoran is already well out of the starting gate and ready for pull requests ;)
> >
> >  https://github.com/beoran/mruby/tree/cmake
> >

mruby CMake build prototype started using beoran's branch as a base.

It'll be mix-n-match refinement across the namespaced branches for awhile until *nix/OSX/Windows builds work reliably and then cleanup and submit a pull request to upstream.

https://github.com/thecodeshop/mruby/tree/beoran-mods/cmake
https://github.com/thecodeshop/mruby/tree/jonforums-mods/cmake

Know anyone using OSX who's got some spare time to hack CMakeLists.txt files? ;)

And then someone who uses VC++ IDE and project solution files rather than Windows SDK nmake?


> Hmm, mruby, seems interesting what will show up as "socket" library,
> specially considering it should work cross-platform.
>
> There is already some libuv work too:
>
> https://github.com/mattn/mruby-uv
>
> Sorry, couldn't resist :-)

Cool. If so, let's hope something like that shows up...something that's cleanly abstracted for cross-platform right from the beginning ;)

Jon

Luis Lavena

unread,
May 3, 2012, 9:43:48 AM5/3/12
to theco...@googlegroups.com
On Thu, May 3, 2012 at 10:02 AM, Jon <jon.f...@gmail.com> wrote:
>
> Know anyone using OSX who's got some spare time to hack CMakeLists.txt files? ;)
>

Hmm, probably, it depends what you call "spare time" -- that is very
subjective ;-)

>
>> Hmm, mruby, seems interesting what will show up as "socket" library,
>> specially considering it should work cross-platform.
>>
>
> Cool. If so, let's hope something like that shows up...something that's cleanly abstracted for cross-platform right from the beginning ;)

As long there is no override of write/open/select and such I will be happy ;-)

Will take a look to the CMakeList later today.

Jon

unread,
May 9, 2012, 4:44:54 PM5/9/12
to theco...@googlegroups.com
multi-platform CMake-based build goodness for mruby now ready for interested testers...

http://jonforums.github.com/ruby/2012/05/09/cmake-prototype-for-mruby.html
Reply all
Reply to author
Forward
0 new messages