dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #18955
Re: [Branch ~dolfin-core/dolfin/main] Rev 4910: Add (initial) files for building DOLFIN with CMake.
On Mon, 2010-08-09 at 09:41 -0700, Johan Hake wrote:
> On Monday August 9 2010 09:25:44 Garth N. Wells wrote:
> > On Mon, 2010-08-09 at 09:13 -0700, Johan Hake wrote:
> > > Will CMake eventually supersede SCons? If so what are the reason behind
> > > such a decision?
> >
> > Maybe. CMake is there now for anyone to try (it's not yet complete).
> > SCons and CMake can co-exist so we can experiment before making any
> > decision.
>
> Ok.
>
> > We rely on a home-baked SCons (simula-scons), whereas CMake is
> > maintained by others. simula-scons is hard for the uninitiated
> > (including me) to work with. CMake seems easier (twe'll see if that's
> > true after playing around with it). There are quite a few test files
> > already available of the shelf for dependencies, and it also has a nice
> > GUI which I think users will appreciate.
>
> I see these points. I wonder how the daily user experience will be with CMake.
> Any unessesary recompilations?
>
So far, it only seems that the SWIG-generated files are recompiled
unnecessarily. I'm sure that that can be fixed.
> I have to say that SCons, together with the homebrewed simula-scons have
> fitted my need very well. I have also been able to use simula-scons for other
> softwares.
>
> That said, I know of several large code bases (KDE included) that ditched
> SCons for CMake for the same reasons you mention. And I have also been happy
> with compiling the CMake dependent libraries DOLFIN depends on.
>
Trilinos now uses CMake, and has gone from being a nightmare to build to
being easy.
> > Apparently CMake has built-in support for creating packages on Mac which
> > is useful.
>
> Ok, and Windows packages?
>
It's claimed to work . . . .
Garth
> Johan
>
> > Garth
> >
> > > Johan
> > >
> > > On Monday August 9 2010 06:44:28 noreply@xxxxxxxxxxxxx wrote:
> > > > ------------------------------------------------------------
> > > > revno: 4910
> > > > committer: Johannes Ring <johannr@xxxxxxxxx>
> > > > branch nick: dolfin
> > > > timestamp: Mon 2010-08-09 15:42:19 +0200
> > > >
> > > > message:
> > > > Add (initial) files for building DOLFIN with CMake.
> > > >
> > > > added:
> > > > CMakeLists.txt
> > > > cmake/
> > > > cmake/DOLFINFindArmadillo.cmake
> > > > cmake/DOLFINFindBoost.cmake
> > > > cmake/DOLFINFindCGAL.cmake
> > > > cmake/DOLFINFindLibXml2.cmake
> > > > cmake/DOLFINFindNumPy.cmake
> > > > cmake/DOLFINFindPython.cmake
> > > > cmake/DOLFINFindUFC.cmake
> > > > cmake/DOLFINFindZLIB.cmake
> > > > cmake/config_tests/
> > > > cmake/config_tests/armadillo_config_test_version.cpp
> > > > cmake/config_tests/cgal_config_test_version.cpp
> > > > dolfin/CMakeLists.txt
> > > > dolfin/swig/CMakeLists.txt
> > > >
> > > > --
> > > > lp:dolfin
> > > > https://code.launchpad.net/~dolfin-core/dolfin/main
> > > >
> > > > Your team DOLFIN Core Team is subscribed to branch lp:dolfin.
> > > > To unsubscribe from this branch go to
> > > > https://code.launchpad.net/~dolfin-core/dolfin/main/+edit-subscription
> > >
> > > _______________________________________________
> > > Mailing list: https://launchpad.net/~dolfin
> > > Post to : dolfin@xxxxxxxxxxxxxxxxxxx
> > > Unsubscribe : https://launchpad.net/~dolfin
> > > More help : https://help.launchpad.net/ListHelp
Follow ups
References