CMake for Mac — build system generator for C and C++ projects

CMake is a free, open-source tool from Kitware that reads a project's CMakeLists.txt files and generates build files for Xcode, Ninja or Make. The Mac download contains a graphical app and the command-line tools.

No ratings yet
Version
4.5.1
License
Free
Requires
macOS 12+
Chip
Apple Silicon & Intel
Developer
Kitware
Website
cmake.org

Last checked: 2026-11-29

CMake does not compile anything itself. It reads the CMakeLists.txt files that describe a project and generates build files for the tool you actually build with, so one description serves macOS, Windows and Linux.

What it does well

  • Generators. Produces Xcode projects, Ninja build files or Unix Makefiles from the same project description.
  • Graphical configuration. The CMake app lists a project’s options with their values, so you can change them before you configure and generate.
  • Testing and packaging. ctest runs a project’s tests, and cpack builds installers and archives.
  • Presets. A CMakePresets.json file stores named configurations that the command line, the app and IDEs can share.

Who it is for

C and C++ developers, and anyone who has to build an open-source project whose instructions begin with cmake.

Good to know

CMake needs a compiler, so on a Mac you also install Xcode or Apple’s Command Line Tools. Its scripting language takes time to learn, and the app does not put cmake on your PATH until you do the last step below. If you would rather not run CMake by hand, Qt Creator and Visual Studio Code (with the CMake Tools extension) can drive it for you.

How to install

  1. Open the downloaded disk image.
  2. Drag CMake to Applications.
  3. The first time you open it, macOS asks you to confirm an app downloaded from the internet; click Open.
  4. To use cmake in Terminal, run sudo "/Applications/CMake.app/Contents/bin/cmake-gui" --install; it creates links in /usr/local/bin.
Free Download

FAQ

Is CMake free?

Yes. CMake is free and open source under the BSD 3-Clause licence.

Does CMake run natively on Apple Silicon?

Yes. The Mac download is a universal build for Apple Silicon and Intel.

How do I use cmake in Terminal after installing the app?

The command-line tools are inside the app and are not on your PATH at first. In the CMake app, Tools → How to Install For Command Line Use lists the options: add the app's bin folder to your PATH, or run the command shown there to create links in /usr/local/bin.

Is it safe?

License: FreeScan on VirusTotalOfficial download link

Apps downloaded outside the App Store make macOS ask for confirmation on first launch. If macOS blocks the app, see our security-warning guide.

Does it run on your Mac?

No reports yet. Tried it? Be the first to say how it went.

macOS 27 26 Tahoe 15 Sequoia 14 Sonoma 13 Ventura 12 Monterey ≤11
Apple Silicon
Intel
Tried it on your Mac?

Not sure? Apple menu → About This Mac → "Chip" (M1–M5) or "Processor" (Intel).

Installation & Troubleshooting

How do I disable SIP and grant Terminal Full Disk Access?

System Integrity Protection shields core macOS files. Leave it on unless a developer's own instructions call for changing it; Terminal needs Full Disk Access to run some install scripts.

Full guide

How do I open an app that Gatekeeper blocks?

Gatekeeper and quarantine trigger "damaged" or "unidentified developer" warnings. Allow the app with Open Anyway in System Settings → Privacy & Security, or clear the quarantine flag with xattr.

Full guide

Why do I see security warnings when opening an app?

"Unidentified developer" and "cannot verify" warnings appear for apps Apple has not notarized. After the first blocked launch, click Open Anyway in System Settings → Privacy & Security.

Full guide

What if the app is damaged or the disk image is corrupted?

"App is damaged and can't be opened" comes from quarantine flags; clear them with xattr -cr on the app. A corrupted DMG usually means an interrupted download.

Full guide

What is Rosetta 2 and how do I install it?

Rosetta 2 lets Apple Silicon Macs run Intel apps. Install it with softwareupdate --install-rosetta in Terminal.

Full guide

Why can't I install this app on an Intel Mac?

Some releases are Apple-Silicon-only and will not install on Intel due to architecture mismatch. Use a universal build or an Intel-matched release.

Full guide

How to fix Adobe app installation errors?

Most Adobe install failures on Apple Silicon come from a missing Rosetta 2 or a stuck Creative Cloud helper. Install Rosetta, quit CCXProcess in Activity Monitor and run the installer again.

Full guide

What to use instead of Launchpad on macOS 26?

macOS 26 replaced Launchpad with the Apps view in Spotlight. Use Spotlight, the Apps view or a third-party launcher to find and open apps.

Full guide

Leave a comment

Comments are reviewed before they appear. Your email address is not published.