[nanomsg] Re: started on CMake unification

  • From: Sergei Nikulov <sergey.nikulov@xxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Tue, 24 Mar 2015 09:43:59 +0300

2015-03-24 5:30 GMT+03:00 Garrett D'Amore <garrett@xxxxxxxxxx>:

>
> So some of you may already know some of this.
>
> It turns out that I’ve started the work to move libnanomsg away from
> autotools to just using cmake for building.  (And can I say that while the
> cmake configs are nice, the documentation for cmake is atrocious!)
>
> The motivation here is to get to a single build system that drives
> everything.   autotools simply cannot service the entire community, as it
> needs a mostly unix-like environment to run in.  It has dependencies on GNU
> m4, and a reasonable bash-like shell.  This sort of precludes operation on
> Windows.
>
> cmake can build Makefiles for all systems that I know about.  It generates
> Makefiles on UNIX systems, but also can do project files for various IDEs
> (MSVC, Xcode, etc.)
>
> Frankly, libnanomsg’s tests for various features have some bugs, and that
> needs work.  I’m loathe to work in auto*.  At the time, I also didn’t
> realize we had a functional “make check” target (make test isn’t a
> functional target) in autotools.  So the way tests get executed is
> different on different platforms too.  Argh.  Anyway….
>
> Upshot is I’ve spent some time, and done most of the work — from what I
> can tell this generates (at least on my MacOS X and illumos systems)
> correct builds of nanomsg.  The work is in my own branch here:
>
> https://github.com/gdamore/nanomsg/tree/cmake
>

Perhaps you've should start from reviewing old issues.
For example https://github.com/nanomsg/nanomsg/issues/210
I've already suggest to pull my branch cmake_build from
https://github.com/snikulov/nanomsg
Just waiting for response from Martin.


-- 
Best Regards,
Sergei Nikulov

Other related posts: