cmkr-build

Generates and updates project files from structured input with a standardized build system description.

9|Updated Sep 24, 2022
One-click install
npx skills add https://github.com/not-matthias/dotfiles-nix --skill cmkr-build
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cmkr-build
Source: https://github.com/not-matthias/dotfiles-nix/tree/main/modules/home/programs/cli-agents/shared/skills/cmkr-build
Command: npx skills add https://github.com/not-matthias/dotfiles-nix --skill cmkr-build

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

cmkr-build reduces the friction of configuring and maintaining complex CMake projects by introducing TOML-based project definitions that drive CMakeLists generation.

Core Features & Use Cases

  • TOML-based configuration simplifies project setup compared to ad-hoc CMakeLists.
  • Automatically generate and regenerate CMakeLists.txt from cmake.toml to keep builds consistent.
  • Suitable for creating new projects, migrating from CMakeLists.txt, and integrating with CI/CD workflows.

Quick Start

Bootstrap cmkr in your project by downloading the bootstrap script and generating initial files.

Frequently Asked Questions about cmkr-build

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

FAQPage Schema
How do I generate CMakeLists.txt from a TOML file?

You can generate CMakeLists.txt by defining your project configurations in a cmake.toml file. The build system automatically parses these TOML definitions to create and regenerate the necessary CMake build files.

What is the best way to simplify complex CMake project configurations?

Using TOML-based project definitions reduces the friction of configuring complex CMake projects. This approach replaces ad-hoc CMakeLists.txt files with structured TOML data to keep builds consistent.

Can I use TOML to migrate my existing CMakeLists.txt project?

Yes, you can migrate existing projects by translating your CMakeLists.txt configurations into a cmake.toml file. The system then automatically generates the updated build files from this TOML definition.

How do I bootstrap a new C++ project using TOML definitions?

You can bootstrap a new project by downloading the bootstrap script to generate initial files. This sets up the project structure and automatically regenerates build files whenever the cmake.toml is edited.

Does cmkr-build support CI/CD workflows for C++ projects?

Yes, cmkr-build integrates with development pipelines and CI/CD workflows. It automatically regenerates CMakeLists.txt from cmake.toml to ensure build consistency across automated environments.

What are the limitations of using TOML for CMake project configuration?

TOML-based configuration simplifies project setup but relies on a bootstrap process and specific project and target sections in the cmake.toml. Complex custom CMake scripts might still require manual integration alongside the generated files.