Ah, I see what the issue was -- I first called
cmake .
-- in the source directory; then calling cmake /path/to/source from a
separate build directory still placed the Makefile in the original
source.
I guess the desired behavior would be to notice we're in a new build
directory and switch to it, instead of clinging to the source.
I had to move aside the old source and checkout anew to be able to
follow the wiki... But now it all built fine. One snag was, I had
Intel Fortran with an expired trial, and cmake choked on that -- it
could call ifort, but it returned error on exit. This is basically
not worse than not having it, so it should have simply been disabled
(and I do have gfortran on which cmake could have fallen back, but
didn't).
Overall, an interesting thing, cmake. I used ccmake to tweak its
settings, and it's rather amusing. The make is with colors and
progress percentages, very cool.
Cheers,
Alexy
|