On Mon, Aug 09, 2010 at 10:22:17AM -0700, Johan Hake wrote: > On Monday August 9 2010 10:09:26 Johan Hake wrote: > > On Monday August 9 2010 09:46:16 Garth N. Wells wrote: > > > 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. > > > > Ok, so this means I can go ahead and compile DOLFIN using CMake right now? > > That went sweet! Ridiculous simple! The amount of files we need to provide > were also extremely small. > > Nice work Johannes!
Works fine here too. I also think it looks pretty good. Something I like is that it looks like I will be able to contribute myself to keeping the config files in good shape. I didn't really want to touch them before (because of their size and complexity). I guess we would also need to provide Makefiles instead of SConstruct for all the demos. We could have one demo demo/build/cpp which contained various ways to build against DOLFIN, including plain Makefiles, SConstruct and possibly other options. The next step will be to add support for generating the pkg-config file for DOLFIN. Btw, I set build directory = install directory = pwd/local. Is that good practice or is there a reason for separating build directory from installation directory? -- Anders
signature.asc
Description: Digital signature
_______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp