Wireshark mailing list archives

Re: Make CMake reuse Makefile.common?


From: Peter Wu <peter () lekensteyn nl>
Date: Fri, 6 Mar 2015 16:21:06 +0100

On Wed, Mar 04, 2015 at 02:11:02PM -0500, Evan Huus wrote:
On Wed, Mar 4, 2015 at 2:04 PM, Jeff Morriss <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 () 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) but I don't
think anyone has touched the cmake part (I gave up even thinking about cmake
a while ago).

Yes, the last time I checked the lua test suite on an out-of-tree
cmake build failed because it couldn't find the right init.lua file.

This likely happened because of the build dir is not correctly used in
cmake builds. See https://code.wireshark.org/review/7453
-- 
Kind regards,
Peter Wu
https://lekensteyn.nl
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: