cmake(1) — CMake 3.23.0-rc2 Documentation
cmake.org › cmake › helpThe preset may specify the generator and the build directory, and a list of variables and other arguments to pass to CMake. The current working directory must contain CMake preset files. The CMake GUI can also recognize CMakePresets.json and CMakeUserPresets.json files. For full details on these files, see cmake-presets(7).
file
http://man.hubwiz.com › commandIf no CMakeLists.txt file changes when a source is added or removed then the ... The REMOVE_RECURSE mode will remove the given files and directories, ...
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] Deleting a directory
https://cmake.org/pipermail/cmake/2006-August/010892.htmlYann Renard wrote: > Cheers list, > > when using cmake for building my libraries, I add additional commands > in order to copy all the corresponding header tree to a target > directory. On clean stage, I would like to remove this tree so removed > the .h files one by one using ADDITIONAL_MAKE_CLEAN_FILES. This > empties the tree but after that, it would be nice to …
cmake_path — CMake 3.23.0-rc4 Documentation
cmake.org › cmake › helpcmake_path (REMOVE_FILENAME <path-var> [OUTPUT_VARIABLE <out-var>]) Removes the filename component (as returned by GET ... FILENAME) from <path-var>. After removal, any trailing directory-separator is left alone, if present. If OUTPUT_VARIABLE is not given, then after this function returns, HAS_FILENAME returns false for <path-var>. For example:
[CMake] Deleting a directory
cmake.org › pipermail › cmakeYann Renard wrote: > Cheers list, > > when using cmake for building my libraries, I add additional commands > in order to copy all the corresponding header tree to a target > directory. On clean stage, I would like to remove this tree so removed > the .h files one by one using ADDITIONAL_MAKE_CLEAN_FILES.