cmake-build

Manage Windows CMake build, clean, and reconfigure workflows for GarmentStyleMatch.

Updated Jul 8, 2026
One-click install
npx skills add https://github.com/missdeer/skills --skill cmake-build
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cmake-build
Source: https://github.com/missdeer/skills/tree/main/cmake-build
Command: npx skills add https://github.com/missdeer/skills --skill cmake-build

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the complexity of manually managing Windows CMake build environments by providing standardized, login-shell wrappers for common build lifecycle tasks.

Core Features & Use Cases

  • Standardized Build Lifecycle: Provides consistent commands for building, cleaning, and reconfiguring the GarmentStyleMatch project.
  • Environment Safety: Ensures all operations run through a login shell to maintain correct environment variables and path configurations.
  • Use Case: When you modify the project structure or CMakeLists.txt, use this skill to safely reconfigure the build tree and compile the project without risking manual configuration errors.

Quick Start

Use the cmake-build skill to reconfigure the project and then build the current source tree.

Frequently Asked Questions about cmake-build

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

FAQPage Schema
How do I automate a Windows CMake build with MSVC without manual configuration errors?

Automate a Windows CMake build by using standardized wrappers that manage build, clean, and reconfigure operations, ensuring consistent compilation environments. This eliminates manual configuration errors by targeting the cmake-msvc-build directory.

Why does my CMake build fail when environment variables are not loaded correctly?

A CMake build fails without correct environment variables because the underlying wrapper scripts require a bash-compatible login shell to execute. This ensures proper path configurations and environment safety during the compilation process.

When do I need to reconfigure the CMake build tree for a project?

You need to reconfigure the CMake build tree when you modify the project structure or CMakeLists.txt file. This safely updates the project state and ensures a consistent compilation environment before compiling the source tree.

Can I use this cmake-build workflow for projects other than GarmentStyleMatch?

This cmake-build workflow specifically manages Windows-based CMake build workflows for the GarmentStyleMatch project. It targets the cmake-msvc-build directory to ensure consistent compilation environments for that specific project state.

What is the best way to clean and recompile a CMake project on Windows?

The best way to clean and recompile a CMake project on Windows is using standardized lifecycle commands that wrap clean and reconfigure operations. This safely manages the project state through a login shell without risking manual errors.

Do I need a bash-compatible login shell to execute CMake build scripts on Windows?

Yes, you need a bash-compatible login shell to execute the underlying project-specific wrapper scripts. This access ensures correct environment variables and path configurations are maintained during the CMake compilation workflow.