> On 7/02/2015, at 06:10, Dima Pasechnik <dimp...@gmail.com> wrote: > > On 2015-02-06, Thierry Dumont <tdum...@math.univ-lyon1.fr> wrote: >> Le 06/02/2015 08:15, Francois Bissey a écrit : >>> Cmake is a reverse approach compared to autotools. You need cmake installed >>> to configure the software. The system to build (make or something else) is >>> somewhat OS dependent. autotool generate a script and you don’t need >>> auto tool installed on the target system. >>> >>> The main issue that you need to bootstrap it. i.e. cmake is used to build >>> cmake. >>> >>> Francois >>> >> >> This means we can only rely on a system wide installed cmake ? For the >> user, it is only one package to install (apt-get...). >> But the autotools, too, are supposed to be installed system wide. So, >> where is the problem? I understand that Sage uses as few as possible >> dependencies as possible -which extremly nice-, but cmake is now widely >> used. >> >> I think that, sooner or later, sage will need cmake: most programmers >> are switching from the autotools to cmake: it is much easier to learn, > > Wait, Kiware's, the main cmake company, only non-US office is in Lyon... :-) > >> to adapt and to use, and extremely powerfull. I have ported all my codes >> (generally C++ + some Fortran + MPI +...) to cmake. I feel much better >> now :-) > > it might be easier for programmers, but less so for users. My > experience is that that install of a project under cmake starts bugging > you with a lot of stupid or hard questions. > > And how does one use it to do cross-platform shared libraries?
I am not sure what you mean by that. But basically cmake knows the platform you install it on and set things appropriately. cross-compilation is also possible and has about as many caveat than autotools. I personally prefer autotools but cmake is often an acceptable solution. Francois -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.