microsoft / microsoft/vscode-cmake-tools

how to add a new entry in `Edit CMake Cache UI`?

Open
#4,123 1 comment 1 reaction 0 assignees View on GitHub
enhancement Feature: cache editor
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Brief Issue Summary

When use `CMake` in my project, I want to install both `Debug/Release`. Then, I need to set `CMAKE_DEBUG_POSTFIX=d`. However, I can not set `CMAKE_DEBUG_POSTFIX=d` in `Edit CMake Cache UI`. Hope `CMake` can add this feature.

### CMake Tools Diagnostics

_No response_

### Debug Log

_No response_

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the Edit CMake Cache UI entry point and how it reads and writes CMake cache entries. Reproduce the inability to add CMAKE_DEBUG_POSTFIX, then verify that a new cache entry can be added and persisted for a CMake project.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript
Domain
build-system, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.