trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: August 2015

Re: [trinity-users] [TDE-on-NixOS] Cmake will be the default in TDE, in a near future?

From: "Timothy Pearson" <kb9vqf@...>
Date: Mon, 31 Aug 2015 09:02:02 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA224

> Hello, TDE hackers!
>
> I am now working on packaging TDE to NixOS Linux distribution. I will
> resume an earlier work I have made a long time ago, but for all
> purposes it will be a long and challenging "TDE from Scratch" task.
>
> As I read the wiki on building TDE from sources, I found there are a
> bit heterogeneous build system: some old apps use Autotools, and the
> new ones use Cmake. If the build system were homogeneous, it would be
> a bit easier (for me at least :P) to maintain the Nix expressions.
>
> So, I want to ask two things:
>
> 1 - There is some intent on wipe Autotools and adopt Cmake on all TDE
> tree?
> 2 - If yes to 1: how can I help on it?
>
> Thanks in Advance!
> Anderson Torres

Yes, we would like to migrate everything over to CMake.  We lost much of
the manpower originally responsible for the CMake port a couple of years
ago now, but the good news is most of the remaining work is fairly simple
(but tedious).

What needs to be done at this point is to go application by application
and port the Automake build system over to CMake.  Most of the old
TDE-specific Automake macros now have (much better) CMake equivalents, so
it's mostly a matter of using a module such as tdebase as an example and
generating the appropriate ConfigureChecks.cmake (equivalent to the
Autotools configure.ac file) and CMakeLists.txt (equivalent to the
Autotools Makefile.in) files.

There are people more knowledgeable than I am with regards to CMake on
this list, so if you want to assist just let us know.  I would suggest
starting with a smaller application first and sending patches to the list
for review, then we can determine where to go from there.

Thanks!

Tim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iFYEARELAAYFAlXkXloACgkQLaxZSoRZrGFgAgDdFvUI4GYt84Vb+ikO0wGDfmQv
m8zXVc3BOUx3wgDgnEjOXIoDr23OkuOdx/dDhsKIbeRWR1Ib4Xdi9Q==
=FPmB
-----END PGP SIGNATURE-----