build-cmake

Automate CMake builds for embedded firmware projects with environment detection.

810|140|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/LeoKemp223/embed-ai-tool --skill build-cmake-leokemp223
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-cmake
Source: https://github.com/LeoKemp223/embed-ai-tool/tree/main/skills/build-cmake
Command: npx skills add https://github.com/LeoKemp223/embed-ai-tool --skill build-cmake-leokemp223

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cmake, ninja, make, arm-none-eabi-gcc, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of building CMake-based embedded firmware projects, streamlining the workflow for developers.

Core Features & Use Cases

  • Automated CMake Build: Executes CMake configuration and build commands to automate the build process.
  • Build Environment Detection: Automatically detects the necessary build environment, including CMake, Ninja, Make, and compiler tools.
  • Preset and Manual Configuration: Allows the use of CMake presets or manual configuration for builds.
  • Artifact Detection: Scans the build directory for ELF, HEX, BIN, and AXF artifacts and reports the primary artifact.
  • Use Case: For a developer working on an embedded firmware project that uses CMake, this Skill can save time by automating the build process, reducing manual steps, and ensuring consistent builds.

Quick Start

Use the build-cmake skill to build the CMake project in the current directory.

Frequently Asked Questions about build-cmake

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate CMake builds for embedded firmware projects?

To automate CMake builds for embedded firmware, this Skill executes configuration and build steps while detecting the necessary environment. It supports CMakePresets.json and manual configuration to streamline the build process.

Can I use CMakePresets.json for embedded firmware build configuration?

Yes, you can use CMakePresets.json for embedded firmware build configuration. The Skill detects and applies preset configurations automatically, alongside supporting manual configuration for custom build environments.

Does the CMake build automation tool detect ARM GCC and Ninja?

The CMake build automation tool detects ARM GCC and Ninja. It automatically scans for CMake, Ninja, Make, and compiler tools to ensure the embedded development environment is correctly configured before building.

How do I locate ELF, HEX, and BIN build artifacts after a CMake build?

To locate ELF, HEX, and BIN build artifacts after a CMake build, the Skill scans the build directory and generates a build report. It identifies and reports the primary artifact for your embedded firmware.

What Python and CMake versions are required for embedded build automation?

Embedded build automation requires Python 3.8+ and CMake to execute. These dependencies are necessary to run the environment detection, configuration, and build steps for your firmware project.

Ninja vs Make for CMake embedded builds: which does the automation support?

For CMake embedded builds, the automation supports both Ninja and Make. The Skill detects either build tool during environment setup, allowing you to use your preferred generator for firmware compilation.