The mapscript tcl layer plugin (distinct from the Tcl extension) now generates a Makefile with cmake and seems to work.
BUGZID: