-
Notifications
You must be signed in to change notification settings - Fork 503
Closed
Labels
buga bug in the producta bug in the productregressionused to work and no longer does. Regressions are typically high priorityused to work and no longer does. Regressions are typically high priority
Description
Brief Issue Summary
Environment:
VS Code 1.100.2+ CMake Tools v1.21.27 (pre-release)
More info:
- Repro on Windows, Linux, Mac
- It starts repro from v1.21.5 to latest v1.21.27, so this is a regression issue
- This issue doesn't repro when disable cmake.buildTask
Repro steps:
- Create a folder and open it with VS Code
- Open workspace settings.json, and set
"cmake.buildTask": true
- Create project using command "CMake: Quick Start"
- Reopen project
- Open the command palette(F1 or Ctrl+Shift+P)
- Enter and select the command "Tasks: Configure Task"
- Choose "CMake: build"
- Select the Build button from the Status bar and select a build task
Expected Result:
Project should build successfully
Actual Result:
CMake Tools Diagnostics
{
"os": "win32",
"vscodeVersion": "1.100.2",
"cmtVersion": "1.21.27",
"configurations": [
{
"folder": "c:\\Users\\v-amyli3\\Desktop\\Cmake_tools_Monthly\\test_project",
"cmakeVersion": "3.31.5",
"configured": true,
"generator": "Ninja",
"usesPresets": true,
"compilers": {
"C": "C:/msys64/ucrt64/bin/cc.exe",
"CXX": "C:/msys64/ucrt64/bin/c++.exe"
}
}
],
"cpptoolsIntegration": {
"isReady": true,
"hasCodeModel": true,
"activeBuildType": "Debug",
"buildTypesSeen": [
"Debug"
],
"requests": [],
"responses": [],
"partialMatches": [],
"targetCount": 1,
"executablesCount": 1,
"librariesCount": 0,
"targets": [
{
"name": "Helloworld",
"type": "EXECUTABLE"
}
]
},
"settings": [
{
"communicationMode": "automatic",
"useCMakePresets": "auto",
"configureOnOpen": true
}
]
}
Debug Log
[main] Building folder: C:/Users/v-amyli3/Desktop/Cmake_tools_Monthly/test_project/out/build/MyPresets
[main] Saving open files before configure/build
[build] Starting build
[driver] Start build
[proc] Executing command: chcp
Additional Information
No response
Metadata
Metadata
Assignees
Labels
buga bug in the producta bug in the productregressionused to work and no longer does. Regressions are typically high priorityused to work and no longer does. Regressions are typically high priority
Type
Projects
Status
Completed