Automic VaultAutomic Vault

brew / portes d'approbation

Installer cmake avec Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cmake pour les workflows d'agents IA.

sécurité des agents

Réponse sur la sécurité des agents

cmake configures native builds and can run project-defined build commands.

Accès aux identifiants

Reads environment variables, toolchain files, and project config.

Modification distante

Usually local, but custom commands can call external services.

Risque de publication ou d'artéfact

Can produce native release artifacts and installer packages.

Contrôle recommandé

Gate install/package targets and custom commands that use secrets.

Conseils d'utilisation par les agents

Allow configure/build in scanned worktrees; require approval for install, package, and secret-backed custom targets.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install cmake

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install cmake

MacPorts ports tree · devel/cmake/Portfile · Source: api.github.com

Linux

Alpine Linux apkvérifié · 92%
sudo apk add cmake

Alpine Linux edge package indexes · cmake · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install cmake

Debian stable package indexes · cmake · Source: deb.debian.org

Fedora dnfvérifié · 92%
sudo dnf install cmake

Fedora Rawhide package metadata · cmake · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#cmake

nixpkgs package indexes · pkgs/by-name/cm/cmake/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S cmake

Arch Linux sync databases · cmake · Source: geo.mirror.pkgbuild.com

openSUSE zyppervérifié · 92%
sudo zypper install cmake

openSUSE Tumbleweed package metadata · cmake · Source: download.opensuse.org

Windows

Chocolateyvérifié · 92%
choco install cmake

Chocolatey community package catalog · cmake · Source: community.chocolatey.org

Scoopvérifié · 92%
scoop install main/cmake

Scoop official bucket manifest trees · bucket/cmake.json · Source: api.github.com

Windows Package Managervérifié · 92%
winget install --id Kitware.CMake -e

Windows Package Manager source index · Kitware.CMake · Source: cdn.winget.microsoft.com

aperçu

Résumé du paquet

Cross-platform make

Commandes et alias

  • ccmake
  • cmake
  • cpack
  • ctest

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 2000: CMake is created for the National Library of Medicine's Insight Toolkit project.
  • 2002: VTK and ParaView replace their build systems with CMake.
  • 2006: KDE switches to CMake, helping drive Linux distribution availability.
  • 2011: Ninja generator is added to CMake.
  • 2016: LLVM switches to CMake and removes autoconf.
  • 2017: Microsoft Visual Studio introduces integrated support for CMake projects.
  • 2019: The Qt Group switches to CMake.
  • 2020: CMake Presets are incorporated into Visual Studio and Ninja Multi-Config is added.
  • 2022: CMake is publicly described as the standard build system in a C++Now talk cited by the official timeline.

Related projects

  • The official timeline ties CMake to ITK, VTK, ParaView, KDE, LLVM, Visual Studio, Qt, Ninja, CTest, CPack, and C++20 modules work. It is also the build dependency for projects such as cmark.

portes d'approbation

Métadonnées de revue humaine pour commandes risquées

La graine locale de portes d'approbation contient 6 règles pour cmake. Points d'entrée couverts : cmake, cpack, ctest. Niveaux de sévérité : élevé, moyen. Couverture : partial, revu le 2026-05-21.

Exemples d'actions contrôlées

  • Execute a CMake script with -P.
  • Invoke the configured native build tool.
  • Install build outputs to a destination prefix.
  • Remove paths through CMake command mode.
  • Execute project tests.
  • Generate release packages or installers.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
CMakePresets.jsonCMakeUserPresets.json<build-tree>/CMakeCache.txt

exécutables

Exécutables installés

CommandeTypeExpositionNote
ccmakecliexécutable global
cmakecliexécutable global
cpackcliexécutable global
ctestcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-10
version du gestionnaire4.4.0
gestionnaire mis à jour2026-07-10
données localesOK
amontnot checked
dernière version détectéenon détecté

https://github.com/Kitware/CMake

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:cmake
Version4.4.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/cmake
Page d'accueilhttps://www.cmake.org/
Dépôthttps://github.com/Kitware/CMake
Docs amonthttps://cmake.org/cmake/help/latest
LicenceBSD-3-Clause
Archive sourcehttps://github.com/Kitware/CMake/releases/download/v4.4.0/cmake-4.4.0.tar.gz
Dernière mise à jour2026-07-10T04:16:11Z
Pulseupdated
Bibliothèques fournies par macOSncurses
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré
PrécautionsTo install the CMake documentation, run: brew install cmake-docs

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecmake
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

cmake 3.31.6-2

cross-platform, open-source make system

https://cmake.org/

sudo apt install cmake
  • Section: devel
  • Architecture: amd64
  • 12 Dépendances
  • 6 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Cmake
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cmake from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

cmake-curses-gui 3.31.6-2

curses based user interface for CMake (ccmake)

https://cmake.org/

sudo apt install cmake-curses-gui
  • Section: devel
  • Architecture: amd64
  • Source Package: cmake
  • 12 Dépendances
  • normalized package name match
  • Correspondance par : Cmake
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cmake-curses-gui from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

cmake-data 3.31.6-2

CMake data files (modules, templates and documentation)

https://cmake.org/

sudo apt install cmake-data
  • Section: devel
  • Architecture: all
  • Source Package: cmake
  • normalized package name match
  • Correspondance par : Cmake
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cmake-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

cmake-doc 3.31.6-2

extended documentation in various formats for CMake

https://cmake.org/

sudo apt install cmake-doc
  • Section: doc
  • Architecture: all
  • Source Package: cmake
  • 2 Dépendances
  • 2 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Cmake
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cmake-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

cmake-qt-gui 3.31.6-2

Qt based user interface for CMake (cmake-gui)

https://cmake.org/

sudo apt install cmake-qt-gui
  • Section: devel
  • Architecture: amd64
  • Source Package: cmake
  • 13 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Cmake
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cmake-qt-gui from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

cmake

nix profile install nixpkgs#cmake
  • normalized package name match
  • Correspondance par : Cmake
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cm/cmake/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

cmake 3.28.3-1build7

cross-platform, open-source make system

https://cmake.org/

sudo apt install cmake
  • Section: devel
  • Architecture: amd64
  • 12 Dépendances
  • 6 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Cmake
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cmake from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

cmake-curses-gui 3.28.3-1build7

curses based user interface for CMake (ccmake)

https://cmake.org/

sudo apt install cmake-curses-gui
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: cmake
  • 12 Dépendances
  • normalized package name match
  • Correspondance par : Cmake
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cmake-curses-gui from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

cmake-data 3.28.3-1build7

CMake data files (modules, templates and documentation)

https://cmake.org/

sudo apt install cmake-data
  • Section: devel
  • Architecture: all
  • Source Package: cmake
  • normalized package name match
  • Correspondance par : Cmake
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cmake-data from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

cmake-doc 3.28.3-1build7

extended documentation in various formats for CMake

https://cmake.org/

sudo apt install cmake-doc
  • Section: doc
  • Architecture: all
  • Source Package: cmake
  • 2 Dépendances
  • 2 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Cmake
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cmake-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

cmake-qt-gui 3.28.3-1build7

Qt based user interface for CMake (cmake-gui)

https://cmake.org/

sudo apt install cmake-qt-gui
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: cmake
  • 14 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Cmake
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cmake-qt-gui from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

ccmake 4.2.3-r0

Cross-platform, open-source make system (ccmake configurator)

https://cmake.org/

sudo apk add ccmake
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: cmake
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Cmake
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ccmake from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

cmake 4.2.3-r0

Cross-platform, open-source make system

https://cmake.org/

sudo apk add cmake
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: cmake
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Cmake
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cmake from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

cmake-bash-completion 4.2.3-r0

Bash completions for cmake

https://cmake.org/

sudo apk add cmake-bash-completion
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: cmake
  • normalized package name match
  • Correspondance par : Cmake
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cmake-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

cmake-doc 4.2.3-r0

Cross-platform, open-source make system (documentation)

https://cmake.org/

sudo apk add cmake-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: cmake
  • normalized package name match
  • Correspondance par : Cmake
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cmake-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

cmake-emacs 4.2.3-r0

Cross-platform, open-source make system (emacs mode)

https://cmake.org/

sudo apk add cmake-emacs
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: cmake
  • normalized package name match
  • Correspondance par : Cmake
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cmake-emacs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • approval-gate seed metadata
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment