cmake

Standardize CMake workflow changes for Windows-first Qt/C++ architecture.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/EvgeniiFenita/Librova --skill cmake-evgeniifenita
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cmake
Source: https://github.com/EvgeniiFenita/Librova/tree/main/.agents/skills/cmake
Command: npx skills add https://github.com/EvgeniiFenita/Librova --skill cmake-evgeniifenita

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Librova's CMake workflow has grown complex and brittle across Windows-first Qt/C++ architecture. This guide standardizes presets, target wiring, Qt module integration, tests, and dependency-safe changes to ensure predictable builds and easier maintenance.

Core Features & Use Cases

  • Stay aligned with existing project structure: CMakeLists.txt, CMakePresets.json, and Qt module wiring patterns.
  • Manage presets, vcpkg integration, and test wiring consistently across platforms.
  • Use as reference when adding native slices, new Qt app targets, or updating dependencies while preserving target graphs.

Quick Start

Follow the Librova CMake workflow using the standard presets and target wiring to keep builds deterministic.

Frequently Asked Questions about cmake

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

FAQPage Schema
How do I configure Qt module wiring in CMake for a Windows-first C++ project?

To configure Qt module wiring in CMake, apply ownership-aligned integration rules that preserve the existing target graph while standardizing CMakeLists.txt updates for predictable Windows builds.

What is the best way to manage vcpkg dependencies in CMakePresets?

Managing vcpkg dependencies in CMakePresets involves using preset-driven build configurations to consistently integrate package dependencies across platforms without breaking the target graph.

How do I add CMake tests for new Qt app targets without breaking existing builds?

To add CMake tests for Qt app targets, implement target-scoped test wiring patterns that preserve the existing target graph and maintain deterministic build outputs.

Can I use CMakePresets to standardize build configurations for Cpp20 projects?

Yes, you can use CMakePresets to standardize Cpp20 build configurations by applying preset-driven setups that ensure deterministic builds across Windows-first Qt/C++ architectures.

Why does modifying CMakeLists.txt cause unpredictable builds in Qt C++ projects?

Modifying CMakeLists.txt causes unpredictable builds when target-scoped patterns are ignored; standardizing target wiring and Qt integration rules ensures consistent dependency-safe changes.