← Back to issue list

cmake plugin should set CMAKE_BUILD_TYPE, CMAKE_INSTALL_PREFIX

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1738265
Type
issue
State
open
Author
~saviq
Labels
—
Created
Updated
Closed
—

Current evaluation

Requests CMake defaults for RelWithDebInfo and /; the current craft-parts plugin sets neither automatically and documents explicit configuration, but the issue remains untriaged.

Suggested action: needs triage

Reason: The report specifies exact proposed defaults, but Launchpad shows no labels, comments, or maintainer response. The current craft-parts plugin explicitly documents that CMAKE_INSTALL_PREFIX is not automatic and shows CMAKE_BUILD_TYPE being supplied manually, making this a compatibility-sensitive policy change rather than a ready bug fix.

Evaluated by: mr-cal-bot

Impact: 40 Quick Win: 15 Complexity: 48 Confidence: 88 Actionability: 70

Issue body

The CMake plugin should probably set some good defaults when configuring. Some that come to mind: CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_INSTALL_PREFIX=/ There's some others set by debhelper that might be a good reference: https://anonscm.debian.org/git/debhelper/debhelper.git/tree/lib/Debian/Debhelper/Buildsystem/cmake.pm

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 40
Quick Win: 15
Complexity: 48
Confidence: 88
Actionability: 70
needs triage Requests CMake defaults for RelWithDebInfo and /; the current craft-parts plugin sets neither automatically and documents explicit configuration, but the issue remains untriaged.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 12
Complexity: 20
Confidence: 55
Actionability: 50
needs triage Feature request to set CMAKE_BUILD_TYPE and CMAKE_INSTALL_PREFIX defaults in the cmake plugin. Open 3205 days with no maintainer response or labels.
qwen/qwen3.8-27b
Impact: 30
Quick Win: 18
Staleness: 95
Complexity: 40
Confidence: 70
Support Request: 10
close stale Feature request from 2016 asking the CMake plugin to default CMAKE_BUILD_TYPE=RelWithDebInfo and CMAKE_INSTALL_PREFIX=/ when configuring. No maintainer response, no labels, no activity in ~9 years. Modern craft-parts cmake plugin still does not set these defaults.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 85
Support Request: 5
close stale Feature request to set default CMake configuration variables like CMAKE_BUILD_TYPE and CMAKE_INSTALL_PREFIX in the CMake plugin. Unassigned, unlabelled, and inactive for over 8 years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 15
Confidence: 85
Support Request: 10
close stale Feature request to set default CMake variables like CMAKE_BUILD_TYPE and CMAKE_INSTALL_PREFIX in the plugin. Unlabeled, zero maintainer comments, inactive for over 8 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 90
Support Request: 10
close stale Suggests adding default CMake configuration variables like CMAKE_BUILD_TYPE and CMAKE_INSTALL_PREFIX to the plugin. Unaddressed for over 8 years with no maintainer interaction.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.