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.