makefiles without references to cmakelists or cmake

hello,

I’m new with cmake.
Is it possible to generate makefiles (windows, linux…) in which there are no references to cmakelists.txt or to cmake. In other words, can we generate, with cmake, makefiles allowing the user to compile a program without having the cmakelists.txt or cmake loaded on his system.
Thanks in advance for any answer.

No, CMake does not support this nor will it likely ever be supported. There are numerous things in the build that still use CMake itself during the build. Additionally, build trees are not relocatable and trying this would require the user use the same paths for the build and source tree as when generated in the first place.