Has anyone ever used Cmake to generate a mex command-line? I want to link a mex function into vxl, and presumably it should be relatively easy using the Cmake infrastructure? Geoff.