这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 综合技术 » 物联网技术 » MacOSM4安装Cmake

共1条 1/1 1 跳转至

MacOSM4安装Cmake

工程师
2025-01-07 14:32:58     打赏

【前言】

在单片机开发中,Cmake在编译上有非常重的作用。在安装好brew后,我使用brew install cmake完成了安装,虽然命令简单,但是在后面的使用中,有可能需要用到他所安装的路径等。因此在这里记录一下,方便以后的使用。

【安装】

输入命令:brew install cmake

liujianhua@liujianhuadeMac-mini ~ % brew install cmake
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/api/formula.jws.jso
#=#=#                                                                           
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/api/cask.jws.json
#=#=#                                                                           
Warning: Treating cmake as a formula. For the cask, use homebrew/cask/cmake or specify the `--cask` flag. To silence this message, use the `--formula` flag.
==> Fetching cmake
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/cmake-3.31.3.arm64_
######################################################################### 100.0%
==> Pouring cmake-3.31.3.arm64_sequoia.bottle.tar.gz
==> Caveats
To install the CMake documentation, run:
  brew install cmake-docs

Emacs Lisp files have been installed to:
  /opt/homebrew/share/emacs/site-lisp/cmake
==> Summary
										



关键词: MacOS     Cmake     安装    

共1条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]