cmake-runner

Run CMake presets to configure, build, test, and deploy ORE Studio projects.

25|5|Updated Jun 15, 2024
One-click install
npx skills add https://github.com/OreStudio/OreStudio --skill cmake-runner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cmake-runner
Source: https://github.com/OreStudio/OreStudio/tree/main/.claude/skills/cmake-runner
Command: npx skills add https://github.com/OreStudio/OreStudio --skill cmake-runner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a streamlined approach to running CMake commands to configure, build, test, and deploy ORE Studio projects.

Core Features & Use Cases

  • Preset-based configuration and builds using cmake --preset
  • Test execution and selective test targeting via cmake --build --target
  • Diagram generation and deployment triggers via provided targets (mad, deploy_site)

Quick Start

From the top-level project directory, configure with the linux-clang-debug preset, then build and optionally run tests. Example: cmake --preset linux-clang-debug; cmake --build --preset linux-clang-debug; cmake --build --preset linux-clang-debug --target rat; cmake --build --target deploy_skills --preset linux-clang-debug.

Frequently Asked Questions about cmake-runner

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

FAQPage Schema
How do I build and test CMake projects using presets?

To build and test CMake projects, use the cmake --preset command to configure environments like linux-clang-debug, then execute builds and tests by specifying targets such as rat with cmake --build --target.

Can I selectively run specific test targets with CMake presets?

You can selectively run specific test targets by executing cmake --build --target followed by the test target name and your designated preset, enabling deterministic test execution within your CMake workflow.

Does CMake preset-based deployment support diagram generation?

CMake preset-based deployment supports diagram generation by triggering provided targets like mad and deploy_site during the build process to automate diagram creation and site deployment.

What is the best way to configure a multi-stage CMake build on Linux?

The best way to configure a multi-stage CMake build on Linux is applying prescriptive cmake --preset commands, utilizing configurations like linux-clang-debug and linux-clang-release for deterministic builds.

Why should I use CMake presets instead of manual build commands?

You should use CMake presets to streamline configuration across multi-stage builds, ensuring deterministic build and test targets while satisfying top-level project context requirements without manual command overhead.