Wireshark-dev: Re: [Wireshark-dev] Make CMake reuse Makefile.common?

From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Wed, 4 Mar 2015 21:24:53 +0000
On 4 March 2015 at 20:58, Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> wrote:
On 03/04/15 14:10, Graham Bloice wrote:
On 4 March 2015 at 19:04, Jeff Morriss <jeff.morriss.ws@xxxxxxxxx
<mailto:jeff.morriss.ws@gmail.com>> wrote:

    On 03/04/15 11:55, Graham Bloice wrote:

        On 4 March 2015 at 16:44, Jeff Morriss
        <jeff.morriss.ws@xxxxxxxxx <mailto:jeff.morriss.ws@gmail.com>
        <mailto:jeff.morriss.ws@gmail.__com

        <mailto:jeff.morriss.ws@gmail.com>>> wrote:

             On 03/04/15 04:07, Michal Labedzki wrote:

                     On 03/03/15 11:50, Alexis La Goutte wrote:

                         And also if i remember the target is only have
        CMake for
                         build system
                         (and remove autofoo...)


                 I hope there will be only CMake in near future (imply
        remove
                 autotools). As I know cmake aka build systems working
        for all
                 platforms. What about remove building part of
        autotools, use
                 cmake for
                 that and use autotools for other tasks?


             It may work but last I checked it didn't work too well:
        there's a
             bunch of stuff that works when running from an autotools build
             directory that doesn't from a cmake directory.  And it doesn't
             appear many people have been working on that.


        Maybe that should be enumerated somewhere.  I've only built (off
        Windows) on Ubuntu using CMake and it worked for me.  On Windows
        there
        are a few bits left to finish off, but I think the nmake usage
        is coming
        to an end.


    It generally works it's just missing features.  A bunch are
    documented in README.cmake but not all.  For example I think Evan
    found that the test suite--at least the Lua portion--don't work in
    cmake builds; I fixed that in autotools (starting with
    https://code.wireshark.org/__review/3348
    <https://code.wireshark.org/review/3348>) but I don't think anyone
    has touched the cmake part (I gave up even thinking about cmake a
    while ago).


Must
force
change
of
Jeff's
viewpoint
of
CMake

I'l be sending the vibes over later :-)

How about a cmake book--oh, and the time and inclination to read it (the docs and answers I found online didn't help me a lot)?  Ah, I guess the inclination part may be the real problem now--so maybe the vibes /would/ help. ;-)



 And what is an easy cross-compilation target to aim for (with Ubuntu as the host OS)?

--
Graham Bloice