Skip to content

[Bug] cmaketools tirelessly cleans before building #4421

@YexuanXiao

Description

@YexuanXiao

Brief Issue Summary

I use SSH to remotely build on the server, but even though I set "cmake.clearOutputBeforeBuild": false in the local user settings, workspace settings, and remote server settings, cmaketools still cleans before building, causing the build cache to be completely ineffective.

CMake Tools Diagnostics

{
  "os": "linux",
  "vscodeVersion": "1.99.3",
  "cmtVersion": "1.20.53",
  "configurations": [
    {
      "folder": "/home/bizwen/deque",
      "cmakeVersion": "4.0.1",
      "configured": true,
      "generator": "Ninja",
      "usesPresets": false,
      "compilers": {
        "C": "/usr/bin/clang",
        "CXX": "/usr/bin/clang++"
      }
    }
  ],
  "cpptoolsIntegration": {
    "isReady": false,
    "hasCodeModel": false,
    "activeBuildType": "",
    "buildTypesSeen": [],
    "requests": [],
    "responses": [],
    "partialMatches": [],
    "targetCount": 0,
    "executablesCount": 0,
    "librariesCount": 0,
    "targets": []
  },
  "settings": [
    {
      "communicationMode": "automatic",
      "useCMakePresets": "auto",
      "configureOnOpen": true
    }
  ]
}

Debug Log

none

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    buga bug in the productmore info neededMore info is needed from the community for us to properly triage and investigate.

    Type

    No type

    Projects

    Status

    Completed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions