I tried CMake package on os4depot made by Alfkil following the instructions found on the amigaos read me file.
I get an error:
CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modules directory not found in /AmigaOS/C CMake error: Error executing cmake::LoadCache(). Aborting
I need at least CMake 2.8. Cmake soesn't need sh Cmake, i guess. Running cmake only produces a list of all options and informations. Running cmake with parameters or commands produces errors and crashs.
As @Hans stated above CMake on Amiga is too old already.
You might get the version we have working, but it wouldn't be worth the hassle as you'd be limited to porting stuff that has stopped development and is the same age as our CMake.
All other ports have moved on and may need a newer CMake, so i guess it wouldn't be worth the hassle
You could always tried to set up a linux cross-compiler and build it there though
Once it stops crashing it will simply become useless, I've never got anything to work with it, it fails for me at the point of looking for the compiler, and there seems no way to tell it which compiler to use, it always attempts to verify your choice and fails.
You could try "configuring" under linux but the resulting makefiles stil refer back to cmake so you will need to do a lot of editing to get avia make system.
I did the last few (port) builds of Flare RPG with cmake, though it was necessary to use wizard mode, -i option. It was much easier than to write new scripts for compiling or what ever, but Your Mileage May Vary. Linking did require a brand new command to make sound work.
From my notes: "Makefile not done by hand anymore, cmake ../cmake -i ../cmake .. is faster."
I see that CMake has bumped to 3 by now, so I don't doubt its obsolescence.