cmake

File Read

cmake -E cat /path/to/input-file

Shell

echo 'execute_process(COMMAND /bin/sh)' >/path/to/CMakeLists.txt
cmake /path/to/