其他分享
首页 > 其他分享> > cmake函数 file

cmake函数 file

作者:互联网


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} ... DESTINATION [...])
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 [...])

标签:...,Conversion,cmake,函数,文件,READ,file,PATH
来源: https://www.cnblogs.com/faithlocus/p/15613809.html