colcon-cmake
Extension for colcon to support CMake packages.
What it is and what it does
colcon-cmake extends the colcon build orchestration framework to recognize and build CMake-based projects. colcon itself is a meta-build tool that manages multi-package workspaces; this plugin teaches it how to invoke CMake on individual packages, run their tests, and collect results. It works alongside colcon's core and test infrastructure to integrate CMake projects into a unified build pipeline.
The package is classified as Alpha and is designed for developers working with multi-package CMake codebases—common in robotics (ROS 2) and large C/C++ projects. It handles cross-platform builds on macOS, Windows, and POSIX systems, and depends on colcon-core, colcon-library-path, colcon-test-result, and packaging.
Use it for:
- Build multiple interdependent CMake packages in a single colcon workspace command
- Integrate CMake projects into a ROS 2 workspace alongside other package types
- Run tests across CMake packages and aggregate results via colcon's test infrastructure
- Manage library paths and dependencies for CMake builds in a multi-package environment
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
colcon-cmake is a plugin for colcon that adds support for building and testing CMake-based projects as part of a colcon workspace.
Yes, if you are using colcon and have CMake-based packages in your workspace. The plugin is actively maintained, has no known vulnerabilities, and installs with low friction. It is essential for colcon users building CMake projects; without it, colcon cannot recognize or build CMake packages. Not relevant if you are not using colcon.
Install
colcon-cmake on PyPI
pip
pip install colcon-cmakeuv
uv add colcon-cmakepoetry
poetry add colcon-cmakeInstalling colcon-cmake
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with a recent release (59 days ago) and ongoing repository activity. Depends on colcon-core and three lightweight colcon extensions.
License in practice
Apache-2.0 permissive license allows use in commercial and private projects with minimal restrictions; you must retain license notices but are free to modify and distribute.
Quickstart
pip install colcon-cmake
colcon build --packages-select my_cmake_package
Requires colcon-core to be installed; intended for use within a colcon workspace, not as a standalone tool.
Verify before relying
- Whether colcon-cmake handles modern CMake versions (3.x+) and any version constraints it enforces
- Whether this plugin works with non-standard CMake configurations or custom toolchains
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — colcon-core, colcon-library-path, colcon-test-result, packaging |
| Maintenance | actively maintained — 59 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 199,278/month — #9,711 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: colcon_cmake-0.2.30-py3-none-any.whl
Keywords: colcon
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
colcon-corecolcon-core is a command-line tool that…
permissive · top 15,000 on PyPI
colcon-parallel-executorExtends colcon-core to execute package builds…
permissive · top 15,000 on PyPI
colcon-cdProvides a shell function for colcon-core that…
permissive · top 15,000 on PyPI
colcon-package-informationExtends colcon-core to provide information…
permissive · top 15,000 on PyPI
colcon-rosExtends colcon to recognize and build ROS…
permissive · top 15,000 on PyPI
colcon-zshProvides Z shell (zsh) completion and…
permissive · top 15,000 on PyPI
colcon-package-selectionExtends colcon-core to filter and select a…
permissive · top 15,000 on PyPI
colcon-bashProvides Bash script generation as an extension…
permissive · top 15,000 on PyPI
pytest-cmakeIntegrates Pytest with CMake build systems,…
permissive · top 15,000 on PyPI
rapids-loggerrapids-logger provides a CMake-based framework…
permissive · top 15,000 on PyPI