file
文件操作命令
目录
Reading:读文件
file(READ
file(STRINGS
file(
file(TIMESTAMP
file(GET_RUNTIME_DEPENDENCIES [...])
Writing:写文件
file({WRITE | APPEND}
file({TOUCH | TOUCH_NOCREATE} [
file(GENERATE OUTPUT
Filesystem:文件系统操作
file({GLOB | GLOB_RECURSE}
file(RENAME
file({REMOVE | REMOVE_RECURSE } [
file(MAKE_DIRECTORY [
file({COPY | INSTALL}
file(SIZE
file(READ_SYMLINK
file(CREATE_LINK
Path Conversion:路径转换
file(RELATIVE_PATH
file({TO_CMAKE_PATH | TO_NATIVE_PATH}
Transfer:下载与上传
file(DOWNLOAD
file(UPLOAD
Locking:同步锁
file(LOCK