file — CMake 3.23.0-rc3 Documentation
cmake.org › cmake › helpNew in version 3.2: Added the UTF-16LE, UTF-16BE, UTF-32LE, UTF-32BE encodings. For example, the code. file (STRINGS myfile.txt myfile) stores a list in the variable myfile in which each item is a line from the input file. file (<HASH> <filename> <variable>) Compute a cryptographic hash of the content of <filename> and store it in a <variable>.
cmake(1) — CMake 3.23.0-rc2 Documentation
cmake.org › cmake › helpcmake can also be used to View Help. The other actions are meant for use by software developers writing scripts in the CMake language to support their builds. For graphical user interfaces that may be used in place of cmake, see ccmake and cmake-gui. For command-line interfaces to the CMake testing and packaging facilities, see ctest and cpack.