Topic: Patch for a CMake buildsystem

I wrote a buildsystem in CMake.

I believe it is feature complete with the current autotools setup.

Some notes:
* src/oofemdef.h is redundant (just there for compability now)
* FALSETRUE-test seems redudant. The few places it is used one might as well use the bool typedef.
* There was an issue with SLEPc + PETSc, mainly with the slepcsolver when TIME_REPORT is defined. I'm not sure what you want to do with that code, nor did i have time to dig through autotools to see why PETSC_MODULE wasn't defined (although i configure with both petsc and slepc).
* I added paths to includes for iml and spooles (which means you don't have to define any special paths on a typical linux system with spooles installed (/usr/include/spooles/)). This was mostly a small concern about the namespaces, especially with very generic filenames as #include "misc.h".

It's late here, but i wanted to post this for now. Hopefully i didn't mess anything up. I'll double check everything again tomorrow.

2

Re: Patch for a CMake buildsystem

Dear Mikael,

thank you. First I need to learn something about cmake system and compare it to existing one. I will have a look soon, but give me some time.
Borek

Re: Patch for a CMake buildsystem

Cmake maybe a good choice for windows user.
Thanks, Mikael Öhman.