Credential-Zugriff
Reads environment variables, toolchain files, and project config.
brew / Approval Gates
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für cmake in AI-Agent-Workflows.
Agent-Sicherheit
cmake configures native builds and can run project-defined build commands.
Reads environment variables, toolchain files, and project config.
Usually local, but custom commands can call external services.
Can produce native release artifacts and installer packages.
Gate install/package targets and custom commands that use secrets.
Allow configure/build in scanned worktrees; require approval for install, package, and secret-backed custom targets.
Installation
brew install cmakelocal Homebrew formula metadata
sudo port install cmakeMacPorts ports tree · devel/cmake/Portfile · Quelle: api.github.com
sudo apk add cmakeAlpine Linux edge package indexes · cmake · Quelle: dl-cdn.alpinelinux.org
sudo apt install cmakeDebian stable package indexes · cmake · Quelle: deb.debian.org
sudo dnf install cmakeFedora Rawhide package metadata · cmake · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#cmakenixpkgs package indexes · pkgs/by-name/cm/cmake/package.nix · Quelle: api.github.com
sudo pacman -S cmakeArch Linux sync databases · cmake · Quelle: geo.mirror.pkgbuild.com
sudo zypper install cmakeopenSUSE Tumbleweed package metadata · cmake · Quelle: download.opensuse.org
choco install cmakeChocolatey community package catalog · cmake · Quelle: community.chocolatey.org
scoop install main/cmakeScoop official bucket manifest trees · bucket/cmake.json · Quelle: api.github.com
winget install --id Kitware.CMake -eWindows Package Manager source index · Kitware.CMake · Quelle: cdn.winget.microsoft.com
Überblick
Cross-platform make
Verlauf
CMake is Kitware's cross-platform build, test, and package tooling family. It began as infrastructure for large portable C++ scientific software and became the de facto build-system interface for much of the C and C++ open source ecosystem.
The official CMake history says CMake was created in 2000 for the National Library of Medicine's Insight Toolkit, after Bill Hoffman concluded that a new portable C++ build tool was needed. The early design goals were native build-tool support, one input file across platforms, bootstrap portability with only a C++ compiler, and code-generator support.
CMake moved from ITK into VTK and ParaView in 2002, then into major open source projects over time. The official timeline highlights KDE switching in 2006, LLVM removing autoconf in favor of CMake in 2016, Visual Studio adding integrated CMake project support in 2017, and Qt switching to CMake in 2019. The CMake about page claims more than two million downloads per month, and the batch input lists packages across Homebrew, Debian, Fedora, Arch, Nix, MacPorts, Windows package managers, and more.
The cmake executable generates project buildsystems, builds and installs projects, runs scripts, runs command-line helper actions, and exposes help. CMake projects begin from CMakeLists.txt files; modern workflows may also use CMakePresets.json and CMakeUserPresets.json, while generated build trees contain CMakeCache.txt.
CMake is package-nerd infrastructure: it is the build-system front door for thousands of upstream projects and distro recipes. Its generator model lets package maintainers target Make, Ninja, IDE projects, and platform-native tooling from the same upstream metadata, while CTest and CPack standardize test and packaging hooks.
Approval Gates
Der lokale Approval-Gate-Seed enthält 6 Regeln für cmake. Abgedeckte Einstiegspunkte: cmake, cpack, ctest. Schweregrade: hoch, mittel. Abdeckung: partial, geprüft am 2026-05-21.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
CMakePresets.jsonCMakeUserPresets.json<build-tree>/CMakeCache.txtExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
ccmake | cli | globales Executable | |
cmake | cli | globales Executable | |
cpack | cli | globales Executable | |
ctest | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/Kitware/CMake
Installationsmetadaten
| Paketschlüssel | brew:cmake |
|---|---|
| Version | 4.4.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/cmake |
| Homepage | https://www.cmake.org/ |
| Repository | https://github.com/Kitware/CMake |
| Upstream-Dokumentation | https://cmake.org/cmake/help/latest |
| Lizenz | BSD-3-Clause |
| Quellarchiv | https://github.com/Kitware/CMake/releases/download/v4.4.0/cmake-4.4.0.tar.gz |
| Zuletzt aktualisiert | 2026-07-10T04:16:11Z |
| Pulse | updated |
| Von macOS bereitgestellte Bibliotheken | ncurses |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
| Einschränkungen | To install the CMake documentation, run: brew install cmake-docs |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cmake |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
cmake 3.31.6-2
cross-platform, open-source make system
sudo apt install cmakecmake-curses-gui 3.31.6-2
curses based user interface for CMake (ccmake)
sudo apt install cmake-curses-guicmake-data 3.31.6-2
CMake data files (modules, templates and documentation)
sudo apt install cmake-datacmake-doc 3.31.6-2
extended documentation in various formats for CMake
sudo apt install cmake-doccmake-qt-gui 3.31.6-2
Qt based user interface for CMake (cmake-gui)
sudo apt install cmake-qt-guicmake
nix profile install nixpkgs#cmakecmake 3.28.3-1build7
cross-platform, open-source make system
sudo apt install cmakecmake-curses-gui 3.28.3-1build7
curses based user interface for CMake (ccmake)
sudo apt install cmake-curses-guicmake-data 3.28.3-1build7
CMake data files (modules, templates and documentation)
sudo apt install cmake-datacmake-doc 3.28.3-1build7
extended documentation in various formats for CMake
sudo apt install cmake-doccmake-qt-gui 3.28.3-1build7
Qt based user interface for CMake (cmake-gui)
sudo apt install cmake-qt-guiccmake 4.2.3-r0
Cross-platform, open-source make system (ccmake configurator)
sudo apk add ccmakecmake 4.2.3-r0
Cross-platform, open-source make system
sudo apk add cmakecmake-bash-completion 4.2.3-r0
Bash completions for cmake
sudo apk add cmake-bash-completioncmake-doc 4.2.3-r0
Cross-platform, open-source make system (documentation)
sudo apk add cmake-doccmake-emacs 4.2.3-r0
Cross-platform, open-source make system (emacs mode)
sudo apk add cmake-emacsQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.