cmake - cmake命令中--j 8是什么意思
解决方案
该--
选项意味着将以下选项传递给本机工具,可能是make
. 对于make
,该-j
选项表示同时运行的作业数:
-j [jobs], --jobs[=jobs]
Specifies the number of jobs (commands) to run simultaneously. If there is more than one -j option, the
last one is effective. If the -j option is given without an argument, make will not limit the number of
jobs that can run simultaneously.
这允许make
使用多个进程同时运行不同的构建步骤,可能会减少构建时间。
推荐阅读
- sql - SQL 服务器——年份
- android - 播放音频文件时显示进度条?
- swift - 奇怪的 tableView.reloadData() 行为
- windows - 汇编 - 在循环中使用 scanf 读取字符串仅读取一个字符串
- c++ - 正确地将 SDL 矩形渲染到屏幕上
- java - 删除项目后更新 JList
- python - 如何将每个月放在 matplotlib 的 xaxis 中?
- javascript - 类型 '() => void' 不可分配给类型 'string'
- python - 使用 pyinstaller 后,我的程序在运行 subprocess.run() 命令时冻结
- c# - 如何使用 webAPI C# 中提供的端点将文件上传到数据库?