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

Output is not cleared when auto-configuring #2628

Closed
jgcodes2020 opened this issue Jun 29, 2022 · 1 comment · Fixed by #2629
Closed

Output is not cleared when auto-configuring #2628

jgcodes2020 opened this issue Jun 29, 2022 · 1 comment · Fixed by #2629
Assignees
Projects
Milestone

Comments

@jgcodes2020
Copy link

Brief Issue Summary

Usually, CMake Tools will clear its output when configuring or building. This does not seem to be the case when it automatically configures on saving a CMakeLists.txt.

CMake Tools Diagnostics

{
  "os": "linux",
  "vscodeVersion": "1.68.1",
  "cmtVersion": "1.11.26",
  "configurations": [
    {
      "folder": "/home/jgcodes/Documents/Code/C++/tas-input-qt",
      "cmakeVersion": "3.23.2",
      "configured": true,
      "generator": "Ninja",
      "usesPresets": true,
      "compilers": {
        "CXX": "/usr/bin/c++"
      }
    }
  ],
  "cpptoolsIntegration": {
    "isReady": false,
    "hasCodeModel": false,
    "activeBuildType": "",
    "buildTypesSeen": [],
    "requests": [],
    "responses": [],
    "partialMatches": [],
    "targetCount": 0,
    "executablesCount": 0,
    "librariesCount": 0,
    "targets": []
  },
  "settings": [
    {
      "communicationMode": "fileApi",
      "useCMakePresets": "auto",
      "configureOnOpen": false
    }
  ]
}

Debug Log

[main] Configuring folder: tas-input-qt 
[proc] Executing command: /usr/bin/cmake -S/home/jgcodes/Documents/Code/C++/tas-input-qt -B/home/jgcodes/Documents/Code/C++/tas-input-qt/build -G Ninja
[cmake] -- Configuring done
[cmake] -- Generating done
[cmake] -- Build files have been written to: /home/jgcodes/Documents/Code/C++/tas-input-qt/build
[main] Configuring folder: tas-input-qt 
[proc] Executing command: /usr/bin/cmake -S/home/jgcodes/Documents/Code/C++/tas-input-qt -B/home/jgcodes/Documents/Code/C++/tas-input-qt/build -G Ninja
[cmake] -- Configuring done
[cmake] -- Generating done
[cmake] -- Build files have been written to: /home/jgcodes/Documents/Code/C++/tas-input-qt/build
[extension] [6483] cmake.buildDirectory started
[extension] [4395] cmake.buildDirectory started
[extension] [6483] cmake.buildDirectory finished (returned "/home/jgcodes/Documents/Code/C++/tas-input-qt/build")
[extension] [4395] cmake.buildDirectory finished (returned "/home/jgcodes/Documents/Code/C++/tas-input-qt/build")
[extension] [1828] cmake.buildDirectory started
[extension] [1828] cmake.buildDirectory finished (returned "/home/jgcodes/Documents/Code/C++/tas-input-qt/build")
[extension] [1266] cmake.buildDirectory started
[extension] [1266] cmake.buildDirectory finished (returned "/home/jgcodes/Documents/Code/C++/tas-input-qt/build")
[extension] [3110] cmake.buildDirectory started
[extension] [3110] cmake.buildDirectory finished (returned "/home/jgcodes/Documents/Code/C++/tas-input-qt/build")

Additional Information

No response

@elahehrashedi elahehrashedi modified the milestone: 1.12 Jun 29, 2022
@elahehrashedi elahehrashedi added this to Triage in 1.12 via automation Jun 29, 2022
@elahehrashedi elahehrashedi self-assigned this Jun 29, 2022
@elahehrashedi elahehrashedi moved this from Triage to In Progress in 1.12 Jun 29, 2022
@elahehrashedi
Copy link
Contributor

We are working on a fix for this issue in this PR #2629

1.12 automation moved this from In Progress to Done Jul 1, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Aug 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
1.12
Done
Development

Successfully merging a pull request may close this issue.

2 participants