cmake 经常使用命令

1. 使用日期spa

# 获取时间
string(TIMESTAMP DATE_TIME "%y-%m-%d %H:%M")

# 获取日期
string(TIMESTAMP DATE_VERSION "%m%d")
相关文章
相关标签/搜索