cpp-modern-cmake

Community

Build modern CMake for embedded C/C++

AuthorBinh230199
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you write, review, and debug modern CMake build systems for embedded C and C++ projects without falling back to brittle global flags or legacy patterns.

Core Features & Use Cases

  • Target-based CMake: Define clean library and executable targets with proper PUBLIC, PRIVATE, and INTERFACE scoping.
  • Cross-compilation setup: Configure toolchain files, sysroots, and presets for Android NDK, Linux BSP, and QNX targets.
  • Build lifecycle support: Add tests, install rules, packaging, sanitizers, clang-tidy, and CI-friendly CMakePresets for reproducible workflows.
  • Use Case: A developer can modernize an automotive IVI module by replacing ad hoc include paths and link flags with maintainable target-based CMake and preset-driven builds.

Quick Start

Ask the Skill to review your CMakeLists.txt or preset files for modern target-scoped structure, cross-compilation readiness, and install-rule correctness.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cpp-modern-cmake
Download link: https://github.com/Binh230199/ai/archive/main.zip#cpp-modern-cmake

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.