Topic: CMake build files

I'd like to ask this question again. Would it be OK for me to upload the CMake build files?
I know you have expressed reluctance to add another build system, but i think the cmake system is very unintrusive. It's a few text files in total.

Some advantages

  • Simple configuration and build on all platforms.

  • Integrates nicely into KDevelop and Eclipse

  • Readable terminal output

  • Nicer syntax than autotools

  • Optionally using CPack for distributions (which i haven't implemented yet)

I've also added CTest, which prints a nice readable summary of the tests as they execute.

I'd really, really like to add this to trunk as it would make it easier for me to work from other machines.

A sample of how the build files in each module looks like;

set (fm_emodel 
    cbs.C
    supg.C
    stokesflow.C
    stokesflowstresshomogenization.C 
    )

... [more listing of files]...

add_library(fm
    ${fm_emodel}
    ${fm_element}
    ${fm_material}
    ${fm_status}
    ${fm_loads}
    ${fm_interface}
    ${fm_levelset}
    ${fm_new}
    )

Which is quite self explanatory and simple.