gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: would it be time to replace scons with meson build system?


From: Claus Klein
Subject: Re: would it be time to replace scons with meson build system?
Date: Sat, 8 Feb 2020 02:37:54 +0100


Am 04.02.2020 um 21:07 schrieb James Browning <address@hidden>:

Woohoo he shaved less than eight seconds off of a build time. And tried to volunteer one of us to convert convert the build system to meson or was it cmake with a ninja back end. Or am I wrong?

Um, I would have to vote no.

Perhaps, you should try it out with cmake and ninja, ccache, and clang-tidy too, if you want ;-)

I send you a simple prototype (not complete), it may work on your system after you have generated a view files with soncs:

bash-5.0$ scons gpsd_config.h ais_json.i packet_names.h gps_maskdump.c
bash-5.0$ make -f GNUmakefile.4ninja
. . .

bash-5.0$ cmake â€”help
. . .
Generators

The following generators are available on this platform (* marks default):
* Unix Makefiles               = Generates standard UNIX makefiles.
  Ninja                        = Generates build.ninja files.
  Xcode                        = Generate Xcode project files.
  CodeBlocks - Ninja           = Generates CodeBlocks project files.
  CodeBlocks - Unix Makefiles  = Generates CodeBlocks project files.
  CodeLite - Ninja             = Generates CodeLite project files.
  CodeLite - Unix Makefiles    = Generates CodeLite project files.
  Sublime Text 2 - Ninja       = Generates Sublime Text 2 project files.
  Sublime Text 2 - Unix Makefiles
                               = Generates Sublime Text 2 project files.
  Kate - Ninja                 = Generates Kate project files.
  Kate - Unix Makefiles        = Generates Kate project files.
  Eclipse CDT4 - Ninja         = Generates Eclipse CDT 4.0 project files.
  Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.

Attachment: CMakeLists.txt
Description: Text document

Attachment: GNUmakefile.4ninja
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]