pkg.sopackage field notes

brew / portes d'approbation / rang 24

Installer cmake avec Homebrew

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

provider-native install command

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
ccmakeexécutableexécutable indexéDécouvert depuis l'index local des exécutables.
cmakeexécutableexécutable indexéDécouvert depuis l'index local des exécutables.
cpackexécutableexécutable indexéDécouvert depuis l'index local des exécutables.
ctestexécutableexécutable indexéDécouvert depuis l'index local des exécutables.

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-08-03
version du gestionnaire4.4.2
gestionnaire mis à jour2026-07-31
données localesinconnu
amontnon disponible
dernière version détectéenon détecté
  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:cmake
Version4.4.2
Gestionnaire de paquetsHomebrew
Page d'accueilhttps://www.cmake.org/
Dépôthttps://github.com/Kitware/CMake
Dernière mise à jour2026-07-31T21:49:00Z
Pulseupdated
Bouteillenon enregistré
Serviceaucun déclaré

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
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • pkgdb category and tag curation