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

re-register task provider for new target #1645

Merged
merged 4 commits into from
Feb 10, 2021
Merged

re-register task provider for new target #1645

merged 4 commits into from
Feb 10, 2021

Conversation

elahehrashedi
Copy link
Contributor

bug fix: #1576

using tasks.json:

{
	"type": "cmake",
	"label": "CMake Build test",
	"command": "build",
	"problemMatcher": [],
	"group": {
		"kind": "build",
		"isDefault": true
	}
}

This code will fix these commands (when "cmake.buildTask": true)

Cmake: build (builds the default task)
Cmake: build target (chooses a task to build)
Tasks: Run Task
Tasks: Run Build Task

When we use Cmake: set build target to change the default build target.
or when we change the build target by right-clicking:
image

@andreeis andreeis merged commit 1d5e8bb into develop Feb 10, 2021
@andreeis andreeis deleted the ella/buildTarget branch February 10, 2021 22:05
@github-actions github-actions bot locked and limited conversation to collaborators Jan 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Build" button builds wrong target when using tasks.json
2 participants