Topic: Git repo with CMake available
I added the CMake build system I have been using for the past year to my development repo
https://github.com/Micket/oofem
Its been tested on linux (workstation and computational cluster) and on windows (visual studio). (although I haven't tried out PETSc on windows yet, since PETSc build system does its own thing)
Linux build instructions;
mkdir path/to/build/
cd path/to/build/
ccmake path/to/oofem/
make
make apidoc
ctest
Windows build instructions;
Download and install CMake
Open CMake and select the oofem directory as the source directory, make a new directory elsewhere for the build
Configure once, make choices, configure again, then generate the visual studio scripts
Open project file with visual studio
Build the "test" target, which compiles then runs the test-suite.
Haven't tried Mac either, but it should be straight forward.
Some advantages
Cross platform (e.g. you can actually configure (with full options) on windows, no static visual studio project file)
Includes CTest (run test suite conveniently on all platforms)
Includes CPack (make source or binary packages (deb, rpm, tgz, zip))
Simple and understandable build scripts: https://github.com/Micket/oofem/blob/ma … eLists.txt
Less likely to cause merge conflicts in version control when new files are added: https://github.com/Micket/oofem/blob/ma … eLists.txt
Far better console output when compiling and testing, errors and warnings stand out
Also has option to build the python bindings (although I'm not 100% on how one should construct the libraries)
Could easily integrated with CDash, which is nice, for example http://open.cdash.org/index.php?project=Midas
"make source_package" for source releases (although it doesn't apply the release filter yet)