Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Install button -> to perform (configure, build and install actions) automatically #4068

Open
Zingam opened this issue Sep 14, 2024 · 0 comments
Labels
enhancement an enhancement to the product that is either not present or an improvement to an existing feature Feature: install
Milestone

Comments

@Zingam
Copy link
Contributor

Zingam commented Sep 14, 2024

Brief Issue Summary

Normally when building a project all we need is to create a CMake Configure preset and hit the Build button in the Status bar and we get the result. But sometimes it is necessary to also install the project to a location to get a meaningful running build.

In the case of the Libc++ library since recently to get to a proper result when using it with Visual Studio Code (this is a one possible use case) it is necessary to create a CMake configure preset, set the install directory (e.g. "installDir"), setup an install task:

{
	"version": "2.0.0",
	"tasks": [
		{
			"type": "cmake",
			"label": "CMake: install",
			"command": "install",
			"preset": "${command:cmake.activeBuildPresetName}",
			"problemMatcher": [],
			"detail": "CMake template install task"
		}
	]
}

execute that install task to get the built right where it is needed.

Can we have this automated? Next to the Build button in the status bar - an Install button that performs the build, and install tasks automatically without the manual setup? This seems a common enough use case so it can be a VS CMake Tools feature, can it be done?

I'd consider this an extension to this already implemented feature: #532

@github-project-automation github-project-automation bot moved this to Blocked in CMake Tools Sep 14, 2024
@Zingam Zingam changed the title [FR] Install button [FR] Install button -> to perform (configure, build and install actions) automatically Sep 14, 2024
@Yingzi1234 Yingzi1234 added enhancement an enhancement to the product that is either not present or an improvement to an existing feature and removed triage labels Sep 20, 2024
@gcampbell-msft gcampbell-msft added this to the Backlog milestone Oct 2, 2024
@gcampbell-msft gcampbell-msft moved this from Blocked to Pending Prioritization in CMake Tools Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement an enhancement to the product that is either not present or an improvement to an existing feature Feature: install
Projects
Status: Pending Prioritization
Development

No branches or pull requests

3 participants